Re: GCC support for C++ noexcept

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

 



On Mon, Jul 27, 2015 at 9:48 AM, Edward Diener
<eldlistmailingz@xxxxxxxxxxxxxx> wrote:
> On 7/27/2015 4:34 AM, Jonathan Wakely wrote:
>>
>> On 27 July 2015 at 05:17, Edward Diener wrote:
>>>
>>> Try
>>>
>>> #if defined(__GXX_EXPERIMENTAL_CXX0X__) || (__cplusplus >= 201103L)
>>> // C++11 is in effect
>>> #endif
>>
>> GCC 4.8 defines __cplusplus to the correct YYYYMMDD value so this is
>> not necessary.
>>
>
> I meant it as a general solution for any version of gcc. It is what Boost
> config uses.

__GXX_EXPERIMENTAL_CXX0X breaks on Apple platforms and some Clang
based gear. Been there, done that....

Boost is probably broken.

Jeff



[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