Re: GCC 3.4.5 (C++ Standards)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bradford Fisher <fisher.127@xxxxxxxxxx> writes:

> I have been searching through the GCC 3.4.6 manual for the past couple of days, looking for information pertaining to the various standards which are supported by the C++ compiler.  Within the 3.4.6 manual, the section regarding standards addresses the C compiler but not the C++ compiler.
>
> I am wondering which standards are supported (C++98/C++03/C++0X), which of the standards is the default, and how to specify another standard when compiling.

3.4.6 is relatively old by gcc standards, as it was branched from the
development sources over four years ago.  I think your only choices in
3.4 for C++ are -std=c++98 and -std=gnu++98, which is to say, C++98 or
C++98 with GNU extensions.  The default is -std=gnu++98.  I don't
think there is any support for C++03 or C++0X.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux