This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: __gnu_cxx error in OpenSolaris
On 25 May 2011 14:27, <asyropoulos@aol.com> wrote:
>>> And why not have this option as the default to so to discourage or
>
> even
>>>
>>> prevent people from
>>> using the extensions?
>>
>> Because not everyone who uses the compiler wants the same settings, so
>> changing defaults can't be done lightly.
>
> This is supposed to be the GNU C/C+/ compiler not the compiler of the GNU C,
> GNU C++, etc. languages, so this is not an answer.
Is it? Where does it say that?
The default mode for compiling C is -std=gnu89 and for C++ it's
-std=gnu++98, I'm pretty sure that those defaults weren't set that way
by accident.
>> It's there if you want to use it.
>
> No the standard must the default and the GNUisms the extension not the
> other way around. After all, this is exactly what certain big companies are
> doing
> and people are blaming them for disrespecting standards...
Feel free to file a bug - complaining on this list won't change anything.