[ros-users] Illegal instruction
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Dette indlæg hører under følgende tråd:
Det komplette tråd-træ sorteret efter dato
Ivan Dryanovski den
2010-06-18 09:16
Vedhæftede filer:
Indlæg som e-mail
(text/plain)
Skribent:
Bill Morris
Dato:
2010-06-18 09:07
UTC
Til:
ros-users
Emne:
[ros-users] Illegal instruction
std::string foo;
...
ROS_INFO("Foo: %s",foo);
$ bin/my_node
Illegal instruction
This throws an illegal instruction during execution.
ROS_INFO("Foo: %s",foo.c_str());
Obviously works correctly.
Is it possible to get this to produce a better error message?