'__cplusplus' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'

  • Thread starter Thread starter manang85
  • Start date Start date
M

manang85

Guest
Hi,

I'm trying to compile a c99 source and I have the following warning:


C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt.h(212): warning C4668: '__cplusplus' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'


could you tell me why I have this warning?

I'm using cmake + nmake to compile the source, do I have to pass a flag to avoid this warning?

Thank you very much

Continue reading...
 
Back
Top