[cfe-dev] libcxx problem with clang trunk

Justin Bogner mail at justinbogner.com
Wed May 14 12:48:17 PDT 2014


İsmail Dönmez <ismail at donmez.ws> writes:
> Guess I am the only one testing libcxx+clang on Linux. Recent trunk fails to
> compile with libcxx:

This broke in r208756 and should be fixed in r208799.

> 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.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list