[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-toolchain
Subject:    Re: gcc48: to_string not a member of std
From:       Thomas Klausner <wiz () NetBSD ! org>
Date:       2014-04-18 8:55:31
Message-ID: 20140418085531.GB24957 () danbala ! tuwien ! ac ! at
[Download RAW message or body]

On Thu, Apr 17, 2014 at 04:30:43PM +0200, Thomas Klausner wrote:
> But the installed /usr/include/g++/bits/x86_64/c++config.h has:
> /* #undef _GLIBCXX_USE_C99 */

For the curious: The reason this is not set by the libstdc++ configure
script is:

configure:16715: checking for ISO C99 support in <complex.h>
configure:16846: g++ -o conftest  -std=c++98 -fno-exceptions   conftest.cpp  -lm >&5
..
conftest.cpp:(.text+0x68a): undefined reference to `__c99_cabsl'
conftest.cpp:(.text+0x6c0): undefined reference to `cargl'
conftest.cpp:(.text+0x6f6): undefined reference to `ccosl'
conftest.cpp:(.text+0x766): undefined reference to `ccoshl'
conftest.cpp:(.text+0x7d6): undefined reference to `cexpl'
conftest.cpp:(.text+0x846): undefined reference to `clogl'
conftest.cpp:(.text+0x8b6): undefined reference to `csinl'
conftest.cpp:(.text+0x926): undefined reference to `csinhl'
conftest.cpp:(.text+0x996): undefined reference to `csqrtl'
conftest.cpp:(.text+0xa06): undefined reference to `ctanl'
conftest.cpp:(.text+0xa76): undefined reference to `ctanhl'
conftest.cpp:(.text+0xb14): undefined reference to `cpowl'

 Thomas
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic