Boost.Wave 1.52不能在Darwin上使用clang ++构建

时间:2013-01-11 17:13:11

标签: boost clang darwin clang++

我申请了Compile boost C++11 clang mac cannot find cstddef 并调用build如下 ./b2 variant=debug,release --layout=versioned toolset=clang cxxflags="-fPIC -std=c++11 -stdlib=libc++ -arch i386 -arch x86_64" linkflags="-stdlib=libc++ -arch i386 -arch x86_64" threading=multi link=shared --stagedir=stage_darwin_intel_shared_mt stage

所有内容都会构建,除了警告日志和Boost.Wave失败之外: http://pastebin.com/ZHkmTWaq

P.S。增强的静态风味使Wave很好。

1 个答案:

答案 0 :(得分:1)

正确编辑

./b2 variant=debug,release --layout=versioned toolset=clang cxxflags="-fPIC -std=c++11 -stdlib=libc++ -arch i386 -arch x86_64" linkflags="-std=c++11 -stdlib=libc++ -arch i386 -arch x86_64" threading=multi link=shared --stagedir=stage_darwin_intel_shared_mt stage