/opt/ros/indigo/include/ros/console.h:343: error: expected ']' before ')'

asked 2017-05-15 06:02:13 -0500

Haseeb gravatar image

I am getting this error. Can someone tell me what can be the reason? I didn't change anything in console.h file.

/opt/ros/indigo/include/ros/console.h:343: error: expected ']' before ')' token ::ros::console::print(filter, __rosconsole_define_location__loc.logger_, __rosconsole_define_location__loc.level_, __FILE__, __LINE__, __ROSCONSOLE_FUNCTION__, __VA_ARGS__)

edit retag flag offensive close merge delete



I'm pretty sure that this is a problem in your code, not the code you are referencing. So please provide more input: what do you do, how do you compile? also, post the full error message and format it correctly (button with 010101).

mgruhler gravatar image mgruhler  ( 2017-05-15 08:17:44 -0500 )edit