|
|
Hi all,
under Mavericks, using the new CLang 5.0.0 compile, the povray package (as
described by the macports-portfile:
https://trac.macports.org/browser/trunk/dports/graphics/povray/Portfile) does
not compile.
The error is due to an ambigous symbol: "shared_ptr", which cannot be resolved
uniquely by the compiler. This is due to the c++11 support of Clang, which now
brings with its own "shared_ptr" implementation. In the correspoding header
files, there is a "using boost::shared_ptr", but I think this is not suffient to
resolve the symbol, if it given without namespace inside the source code. Since
this is the case for a lot of declarations, I suggest to replace all
"<tab>shared_ptr" declarations with "<tab>boost::shared_ptr" declaration as it
is done whithin the function calls.
The patch would be quite easy, I succeeded with just executing:
find . -type f -exec gsed 's/\tshared_ptr/\tboost::shared_ptr/g' -i.back '{}' +
in the source directory.
Best wishes
Benjamin
Post a reply to this message
|
|