Re: __gnu_cxx error in OpenSolaris

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

 



On 25 May 2011 09:30,  <asyropoulos@xxxxxxx> 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.


[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