Re: Visual C++ support of C99 by using "C++ mode" (/TP)




<albert.neu@xxxxxxxxx> wrote in message
news:1175341081.906506.9390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In other words, by making it valid C++ and invalid C99.

What's your point?

My point is:
Maby the difference between VC++ in C++ mode and C99 is marginal.


No it's huge, even in this case where you use bool you will have to remove
stdbool.h references because VC++ doesnt supply the header. Thats not
C99....and theres way more C99 features that wont work no matter how you try
to run the compiler.

try and compile code like this:
struct S s = { .X = 2, .Y = 3, .Z = 4 };



.