you can use the /Za flag (in your project properties: configuration
properties ->C/C++ ->Language->disable language extensions) to disable the
microsoft extensions, so that only ANSI C and C++ compiles.
to allow only C syntax, you can use the /TC switch (in your project
properties: configuration properties ->C/C++ ->advanced->compile as)
kind regards,
Bruno.
"mmxbass" <mm*****@discussions.microsoft.com> wrote in message
news:E7**********************************@microsof t.com...
In Visual Studio 2005, how can I set my project to be a strict ANSI-C
project
with absoloutly nothing else? I don't want my project to even compile if
it
contains any C++ or non-ANSI code.