http://bugs.orocos.org/show_bug.cgi?id=1053
Summary: Compile error on clang-3.4 (a patch attached)
Product: KDL
Version: kdl-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: Primitives
AssignedTo: orocos-dev [..] ...
ReportedBy: y-fujii [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
Created attachment 866
--> http://bugs.orocos.org/attachment.cgi?id=866
a patch to fix the compile error on clang-3.4
Fix compile errors on clang-3.4:
"friend declaration specifying a default argument must be a definition".
This seems to be one of the corner cases of C++ specs, I believe clang is
correct:
- http://clang.llvm.org/cxx_dr_status.html
- http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#136
Qt5 has already fixed this issue in the same way as my patch attached:
https://codereview.qt-project.org/#change,60150
At first, I found this problem on Blender (http://blender.org/), which has
built-in KDL sources to support advanced IK therefore I'm not good at orocos
project itself. I'm sorry if I did something wrong.