Non Ansi C++ example in Visual C++ -
I am trying to find the syntax of the expansion of the anti-C ++ extension in 2010,
I see this:
The C compiler supports single-line annotations, which is presented using two forward slash (//) characters: < / Blockquote>
Suppose it is not a standard feature?
Can someone give me an example of non-NC C code that will pass in Visual C ++ and will fail in other compilers like GCC? I need an example to know if \ Za is described here.
From the example:
extere int clip (); Static Ent Clip () {}
This compiles with both language and C ++ enabled language extensions.
Strange enough, their documents seem very old. Many examples of non-conformant codes that need to be compiled, when the extensions are actually enabled, are not compiled in both ways.
Comments
Post a Comment