__gnu_cxx error in OpenSolaris

Jonathan Wakely jwakely.gcc@gmail.com
Wed May 25 13:28:00 GMT 2011


On 25 May 2011 09:30,  <asyropoulos@aol.com> wrote:
>
>>> I don't have an official copy of the latest standard, but I don't
>
> believe 0b
>>>
>>> is anything other than a GNU extension.
>>>
>>> http://gcc.gnu.org/onlinedocs/gcc/Binary-constants.html
>>
>> Yes, it's an extension, so use -pedantic as documented in the manual.
>
> 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.

It's there if you want to use it.



More information about the Gcc-help mailing list