Re: -std=C++11 and strict ANSI compliance

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

 



Jonathan Wakely to Anton Shepelev:

> > Thank  you  for the explanation.  Is it possible
> > to make the current GCC with -std=CNN behave  as
> > you intend it to? Will, for example, the follow-
> > ing suffice:    gcc -std=c++11 -U_GNU_SOURCE   ?
>
> No, if it was that easy it would  have  been  done
> long ago.
>
> The   reason   g++  defines  _GNU_SOURCE  is  that
> libstdc++ relies on GNU extensions.

No good.

> Until that changes, _GNU_SOURCE needs  to  be  de-
> fined.

Thank you for the explanation, Jonathan.




[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