CGAL 是否与 OSX 上的 Clang 编译器兼容?

Is CGAL compatible with the Clang compiler on OSX?

自从切换到 std=c++11 模式(或 gnu++11,这似乎稍微稳定一些),CGAL 在 OSX 上对我来说异常 crash-prone(可能有同时进行了更多更改;非常混乱)。

我们正在使用 Clang 进行构建。此 very dated FAQ entry 表明标准 OSX 编译器曾经与 ​​CGAL 有问题。

The default compiler on Mac OS X is g++ 4.0 (at least on Tiger and Leopard). It has some bugs that are unfortunately encountered by some programs using CGAL when optimizing. We recommend that you use a more recent version of g++, such as g++ 4.2, which you can get by upgrading to the latest XCode, or using Fink.

这仍然有意义吗?

即将尝试在不优化的情况下重建 CGAL(和 header 包括库),但我想知道 OSX.

上对 Clang 的官方支持是什么

更新

这看起来像是用户错误。在 C++11 升级期间添加了许多 APPLE #ifdef(原因不明),删除它们似乎修复了许多崩溃问题。

根据 CGAL 的网站,支持 CLANG。

http://doc.cgal.org/latest/Manual/installation.html#seccompilers