Re: [ros-users] ROS_BUILD with optimization causes disfuncti…

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Auteur: User discussions
Datum:  
Aan: User discussions
Onderwerp: Re: [ros-users] ROS_BUILD with optimization causes disfunctionality
>
>
> "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.

Josh