summaryrefslogtreecommitdiff
path: root/graphics/cal3d/files/patch-src_cal3d_loader.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* graphics/cal3d: unbreak build with Clang 6 (C++14 by default)Jan Beich2018-01-261-0/+702
loader.cpp:899:12: error: cannot initialize return object of type 'CalCoreKeyframe *' with an rvalue of type 'bool' return false; ^~~~~ loader.cpp:1448:11: error: no viable conversion from returned value of type 'bool' to function return type 'CalCoreSkeletonPtr' (aka 'RefPtr<CalCoreSkeleton>') return false; ^~~~~ ../../src/cal3d/refptr.h:16:9: note: candidate constructor not viable: no known conversion from 'bool' to 'CalCoreSkeleton *' for 1st argument RefPtr(T* ptr = 0) ^ ../../src/cal3d/refptr.h:22:9: note: candidate constructor not viable: no known conversion from 'bool' to 'const RefPtr<CalCoreSkeleton> &' for 1st argument RefPtr(const RefPtr<T>& ptr) ^ Reported by: pkg-fallout (blocks 5 ports) Approved by: portmgr blanket