On Mon, Nov 23, 2015 at 12:01 PM, Maarten Hoes <hoes.maarten@gmail.com>
wrote:
Or try doing something like 'make CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0' /
'CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 ./autogen.sh' or even 'export
CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 && scan-build --use-cc=clang
--use-c++=clang++ ./autogen.sh' for the libreoffice build like you
mentioned.
Well that doesnt seem to work out, or at least to not be as straightforward
as I hoped.
:(
/usr/local/bin/../libexec/c++-analyzer -DHAVE_CONFIG_H -I. -I.
-D_GLIBCXX_USE_CXX11_ABI=0 -MT CoinFileIO.lo -MD -MP -MF
.deps/CoinFileIO.Tpo -c CoinFileIO.cpp -fPIC -DPIC -o .libs/CoinFileIO.o
/usr/local/bin/../libexec/c++-analyzer -DHAVE_CONFIG_H -I. -I.
-D_GLIBCXX_USE_CXX11_ABI=0 -MT CoinFinite.lo -MD -MP -MF
.deps/CoinFinite.Tpo -c CoinFinite.cpp -fPIC -DPIC -o .libs/CoinFinite.o
CoinFinite.cpp:38:19: error: use of undeclared identifier 'DBL_MAX'
return val != DBL_MAX && val != -DBL_MAX;
^
CoinFinite.cpp:38:38: error: use of undeclared identifier 'DBL_MAX'
return val != DBL_MAX && val != -DBL_MAX;
^
2 errors generated.
Makefile:667: recipe for target 'CoinFinite.lo' failed
make[5]: *** [CoinFinite.lo] Error 1
Oh, well. Nevermind, then. Ill just go back to an older distro that has an
older version of libstdc++.
Thanks,
- Maarten
Context
- Re: unit test failures (llvm/clang/scan-build/clang/clang++) (continued)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.