GNUC C Compiler Extensions

Joe Stack jstack@cylink.com
Tue Jan 25 10:48:00 GMT 2000


Hi,

I'm trying to figure out how to enable (the otherwise default) C++ Comments
feature described in the documentation.

In test code I've determined that the __GNUC__ preproc constant is defined
and __STRICT_ANSI__ and __STDC__ are NOT defined (as per the documentation).
I've visited various versions of the compiler documentation and all I've
found it that it is supposed enabled by default and disabled by '-ansi' or
'-traditional'.

The version of the compiler we're running is given as 2.5.6 (solaris2).

Which leaves the question... How does one enable the acceptance of these
extended features (particularly, for the moment, the C++ Comments) and at
which version were they added?

I appreciate your help figuring this out!

Tx,

Joe Stack
Cylink/3SC


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/vnd.ms-tnef
Size: 1940 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20000125/8435cb83/attachment.tnef>


More information about the Gcc-help mailing list