[Bug 1005] New: wrong #ifndef in chainiksolvervel_pinv_nso.hpp

http://bugs.orocos.org/show_bug.cgi?id=1005

Summary: wrong #ifndef in chainiksolvervel_pinv_nso.hpp
Product: KDL
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Kinematic Solvers
AssignedTo: orocos-dev [..] ...
ReportedBy: marioprats [..] ...
Estimated Hours: 0.0

Hi, sorry if this has been reported elsewhere:

Inside chainiksolvervel_pinv_nso.hpp, the #ifndef directive is the same as in
chainiksolvervel_pinv.hpp. This means you cannot have a code including both.
Setting it to another name would fix the problem, e.g:

#ifndef KDL_CHAIN_IKSOLVERVEL_PINV_NSO_HPP
#define KDL_CHAIN_IKSOLVERVEL_PINV_NSO_HPP

I found this in the ROS-wrapped version of KDL, don't know if other more recent
versions have it fixed.

Thx

Ruben Smits's picture

[Bug 1005] wrong #ifndef in chainiksolvervel_pinv_nso.hpp

http://bugs.orocos.org/show_bug.cgi?id=1005

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |ruben.smits@intermodalics.e
| |u
Resolution| |DUPLICATE