[ros-users] ROS_BUILD with optimization causes disfunctionality

Ken Tossell ktossell at umd.edu
Fri Feb 11 09:21:46 UTC 2011


On Fri, Feb 11, 2011 at 4:07 AM, Steven Bellens
<steven.bellens at mech.kuleuven.be> wrote:
> I was using #ifdef NDEBUG statements to print out debug information,
> but already commented those out and the result is the same.

Maybe there's a hidden assert()ion with side effects. Have you tried
building in release mode but without -DNDEBUG? The "RelWithAsserts"
build type should do that.



More information about the ros-users mailing list