You probably want 128
FYI, Changing "64" to "96" fixes the problem. Changing it to "80" doesn't.--NickOn Dec 2, 2010, at 11:20 AM, Nicholas Butko wrote:Sorry if this is a known issue.--NickCompiling "nodelet" I get the following error:[ 80%] Building CXX object CMakeFiles/nodeletlib.dir/src/nodelet_class.oIn file included from /Users/nick/ros/stacks/common/nodelet/src/nodelet_class.cpp:32:/Users/nick/ros/stacks/common/nodelet/include/nodelet/detail/callback_queue_manager.h:125: error: overflow in array dimension/Users/nick/ros/stacks/common/nodelet/include/nodelet/detail/callback_queue_manager.h:125: error: size of array ‘pad’ is too largemake[3]: *** [CMakeFiles/nodeletlib.dir/src/nodelet_class.o] Error 1make[2]: *** [CMakeFiles/nodeletlib.dir/all] Error 2make[1]: *** [all] Error 2make: *** [all] Error 2Here is the line for the header file. It looks like there is possibly some unsigned integer underflow going on. Presumably sizeof(V_Queue)+sizeof(boost::mutex) is greater than 64.// Pad to then next cache line// TODO: magic numberuint8_t pad[64 - sizeof(V_Queue) - sizeof(boost::mutex)];
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users