Compiler warning (c++11): Zero as null pointer constant
Hi,
I'm using QTCreator with ROS Plugin and compilie my nodes with C++11 support. I get the following compiler warning when using e.g. ROS_DEBUG(). How can setup QTCreator to ignore this warning?
Warning: zero as null pointer constant
expanded from macro 'ROS_DEBUG'
expanded from macro 'ROS_LOG'
expanded from macro 'ROS_LOG_COND'
expanded from macro 'ROSCONSOLE_DEFINE_LOCATION'
In CMakeLists.txt:
add_compile_options(-std=c++11)