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]

GNUC C Compiler Extensions


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


winmail.dat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]