C++ CLANG vs.GNU编译器集合-在GNU中编译,但在CLANG中失败

C++ CLANG vs.GNU编译器集合-在GNU中编译,但在CLANG中失败,c++,macos,osx-mavericks,clang++,ace,C++,Macos,Osx Mavericks,Clang++,Ace,我正试图用第三方库“ACE 6.2.8”在MacOSX 10.9.5 Mavericks和clang++中编译我的项目 我得到以下错误: In file included from ../../../Client/Chromodoris/Agent/CacheGenerator.cpp:15: In file included from ../../../Client/Chromodoris/Agent/ACEIncludes.h:22: In file included from ../../

我正试图用第三方库“ACE 6.2.8”在MacOSX 10.9.5 Mavericks和clang++中编译我的项目

我得到以下错误:

In file included from ../../../Client/Chromodoris/Agent/CacheGenerator.cpp:15:
In file included from ../../../Client/Chromodoris/Agent/ACEIncludes.h:22:
In file included from ../../../Client/Chromodoris/ExternalLibs/ACE_wrappers/ace/OS.h:53:
In file included from ../../../Client/Chromodoris/ExternalLibs/ACE_wrappers/ace/Cleanup.h:30:
In file included from ../../../Client/Chromodoris/ExternalLibs/ACE_wrappers/ace/Intrusive_List.h:128:
In file included from ../../../Client/Chromodoris/ExternalLibs/ACE_wrappers/ace/Intrusive_List.inl:5:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:627:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4013:35: error: no viable overloaded '='
            __e->__weak_this_ = *this;
            ~~~~~~~~~~~~~~~~~ ^ ~~~~~
CLANG++编译器可能有问题吗?有什么解决办法吗

其他信息:

Moamen-MacBook:ace Moamen$ clang++ --version
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
请注意,我的代码正在调用第三方库(ACE),它在出现问题的地方调用CLANG++工具链

请注意,在GNU编译器集合下编译相同的代码。 我认为这个问题是相关的: 我找到了一个解决办法

我收到一条注释消息,上面的错误后有2-3行(对不起,没有消息!),告诉我不能从基类强制转换到派生类

使用派生类对象而不是基类对象,这个问题应该得到解决。
注意-您可以使用基类而不是派生类,但这取决于您的实现和需要。

您需要提供一个代码示例,否则我们只能猜测。即将发布的ACE 6.3.0将为clang-600提供一组修复程序,但不确定此特定错误是否由ACE或某些应用程序代码触发。您能告诉我们6.3.0何时发布吗?可能是本周五,最新的下周一到目前为止的测试显示汉克很多约翰尼!