[ros-users] ROS_BUILD with optimization causes disfunctional…

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: User discussions
日付:  
To: User discussions
題目: [ros-users] ROS_BUILD with optimization causes disfunctionality
Hi,

I'm working on a library reading in data measurements from TCP/IP
sockets. Done developping it, I tried to compile it with
set(ROS_BUILD_TYPE Release) (used to work with: set(ROS_BUILD_TYPE Debug)).
The library does not behave as expected afterwards however: when at
first it reads in data streams from the sockets and recognizes a
specific end sequence, it now keeps on saying it can't find that end
sequence. At the server side there did not change anything however -
only difference is the ROS_BUILD_TYPE.
What exactly happens when changing the BUILD_TYPE that can cause this
kind of disfunctioning?
I was using #ifdef NDEBUG statements to print out debug information,
but already commented those out and the result is the same.

regards,

Steven