[ros-users] ROS_BUILD with optimization causes disfunctionality

Steven Bellens steven.bellens at mech.kuleuven.be
Fri Feb 11 10:08:20 UTC 2011


2011/2/11 Josh Faust <jfaust at willowgarage.com>:
>>
>> "const char ESC_CHARS[] = {'\r','\n'};"
>
> This doesn't have a null terminator, which could definitely cause problems.
>  The string "\r\n" automatically null terminates.

Thanks!

Steven

> Josh
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>



More information about the ros-users mailing list