I'm trying to use VS 2008 for compiling some C code. I configured the project to use ANSI C standard without any language extensions. I also upped the warning level from 3 to 4.
Upon building the project I always get this warning:
c:\program files\microsoft visual studio 9.0\vc\include\sal.h(108) : warning C4001: nonstandard extension 'single line comment' was used
I understand the warning, but how do I get rid of it? I did not include sal.h anywhere. Also, when creating the solution I chose Win32 Console Application and checked the "Empty Project" checkbox.
EDIT: I enabled the /showIncludes switch as suggested, but it doesn't really help since it does not show what includes what. It seems that VS includes a bunch of stuff on its own:
Compiling...
go.c
Note: including file: c:\projects\c\kr\kr\e.01.01.h
Note: including file: c:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h
Note: including file: c:\Program Files\Microsoft Visual Studio 9.0\VC\include\crtdefs.h
Note: including file: c:\Program Files\Microsoft Visual Studio 9.0\VC\include\sal.h
c:\program files\microsoft visual studio 9.0\vc\include\sal.h(108) : warning C4001: nonstandard extension 'single line comment' was used
Note: including file: c:\Program Files\Microsoft Visual Studio 9.0\VC\include\crtassem.h
Note: including file: c:\Program Files\Microsoft Visual Studio 9.0\VC\include\vadefs.h
Note: including file: c:\Program Files\Microsoft Visual Studio 9.0\VC\include\swprintf.inl
Linking...
Am I missing some compiler switch?