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




<albert.neu@xxxxxxxxx> wrote in message
news:1175341932.459379.23180@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
try and compile code like this:
struct S s = { .X = 2, .Y = 3, .Z = 4 };

This does not even compile with EDG/C99.
Try it here
http://www.dinkumware.com/exam/
(Is any header required??)

It's valid C99 nonetheless


.



Relevant Pages

  • Re: C++0x: Scaling up on weak foundations?
    ... I think backward compatibility is a weak foundation to build upon and the ... Well I'm designing my own language. ... You should prefer to make it not compile instead of fail ... For this purpose there are standard header ...
    (comp.lang.misc)
  • Re: Forth Frustrations
    ... Traditional Forth compiles the header at the beginning and unsmudges ... data on the control-flow stack you have a colon-sys. ... compile a previous word with the same name, ... switch a compiler back and forth, ...
    (comp.lang.forth)
  • Re: Forth Frustrations
    ... And when you heard the simple rule that all defining words are followed by the name of the thing being defined, ... where the code starts relative to the header. ... compile a previous word with the same name, ... sense to have the nameless code ready before you start. ...
    (comp.lang.forth)
  • Re: curiosity about includes
    ... everything it needs to compile correctly. ... makes a lot more sense for every view header to include the document header file. ... CXXXDoc* without any include or prototype. ...
    (microsoft.public.vc.mfc)
  • Re: Automatically generate variables
    ... That when you force MSVC into ISO mode, it can't compile its own ... header without errors. ... MSVC is a good implementation, ... MSVC is an *excellent* implementation of C90, ...
    (comp.lang.c)