Re: g++ 5.3 AIX call_once issues

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

 



On 31 October 2017 at 11:29, Jeffrey Walton wrote:
> On Tue, Oct 31, 2017 at 7:15 AM, Bob Wilkinson
> Maybe worth mentioning... std::call_once is c++11. I don't recall what
> GCC 4.8 uses by default, but -std=gnu11 or -std=c++11 may be useful.
> Older GCC's, like 4.4 and 4.7, are likely using gnu++03 by default
> (and may lack gnu++11 or c++11 support).

Using gnu++03 would not compile C++11 code and then give a linker error though.



[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