[cfe-dev] libcxx problem with clang trunk

İsmail Dönmez ismail at donmez.ws
Wed May 14 10:42:25 PDT 2014


Hi,

Guess I am the only one testing libcxx+clang on Linux. Recent trunk fails
to compile with libcxx:

FAILED: /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/clang++
-DLLVMSupport_EXPORTS -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O0 -stdlib=libc++ -fPIC
-fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wmissing-field-initializers -pedantic -Wno-long-long
-Wcovered-switch-default -Wnon-virtual-dtor -std=c++11 -fcolor-diagnostics
-ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fPIC -Ilib/Support
-I../lib/Support -Iinclude -I../include    -fno-exceptions -MMD -MT
lib/Support/CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o -MF
lib/Support/CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o.d -o
lib/Support/CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o -c
../lib/Support/raw_os_ostream.cpp
In file included from ../lib/Support/raw_os_ostream.cpp:15:
In file included from /usr/include/c++/v1/ostream:131:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:18:
In file included from /usr/include/c++/v1/mutex:176:
In file included from /usr/include/c++/v1/__mutex_base:16:
 /usr/include/c++/v1/system_error:396:33: error: '__do_message' redeclared
with 'public' access
     friend class _LIBCPP_HIDDEN __do_message;
                                 ^
 /usr/include/c++/v1/system_error:363:22: note: previously declared
'protected' here
 class _LIBCPP_HIDDEN __do_message;
                      ^
 1 error generated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140514/fb54bb28/attachment.html>


More information about the cfe-dev mailing list