tech-toolchain archive

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

Re: gcc48: to_string not a member of std



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


Home | Main Index | Thread Index | Old Index