This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
That syntax may be valid for C99 compliant code, but is not valid for earlier versions of C. I believe GCC supports the C99 standard. The Microsoft compiler likely doesn't, especially if you're using Visual Studio 6, which I believe was released around 1998 or so (according to the about box anyway). So, neither compiler is necessarily wrong - they just support different versions of the C standard.
Cheers, Rob
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |