unit test failures (llvm/clang/scan-build/clang/clang++)

Maarten Hoes hoes.maarten at gmail.com
Mon Nov 23 03:49:26 PST 2015


On Mon, Nov 23, 2015 at 12:01 PM, Maarten Hoes <hoes.maarten at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20151123/11e35f9b/attachment.html>


More information about the LibreOffice mailing list