[Bug 1053] New: Compile error on clang-3.4 (a patch attached)

Yasuhiro Fujii <[email protected]> Mon, 20 Jan 2014 07:13:09 +0100
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <[email protected]/>
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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
   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.

-- 
Configure bugmail: http://bugs.orocos.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev