Message ID | 5811326.yNvE5WotYC@polaris |
---|---|
State | New |
Headers | show |
On 8 December 2016 at 17:53, Eric Botcazou <ebotcazou@adacore.com> wrote: > As documented a few lines below in the same file (but I presume that the > BADNAMES file is long gone), using _N wreaks havoc on Solaris: I think this documentation has the same content as BADNAMES used to have? https://gcc.gnu.org/onlinedocs/libstdc++/manual/source_code_style.html
Index: include/bits/c++config =================================================================== --- include/bits/c++config (revision 243333) +++ include/bits/c++config (working copy) @@ -147,8 +147,8 @@ #endif #if __cpp_noexcept_function_type -#define _GLIBCXX_NOEXCEPT_PARM , bool _N -#define _GLIBCXX_NOEXCEPT_QUAL noexcept (_N) +#define _GLIBCXX_NOEXCEPT_PARM , bool _NE +#define _GLIBCXX_NOEXCEPT_QUAL noexcept (_NE) #else #define _GLIBCXX_NOEXCEPT_PARM #define _GLIBCXX_NOEXCEPT_QUAL