Initial I didn't set -Wpedantic in the CXX_FLAGS because some external headers *me looks at ROS* triggers some warnings. My current RFC would be to disable -Wpedantic for external headers.
Known problems:
It looks really ugly and the #pragma GCC diagnostic is prone for errors (e.g. forgotten pop)
We have to ignore each warning separately (as GCC has nothing alike to clangs -Weverything)
Initial I didn't set -Wpedantic in the CXX_FLAGS because some external headers *me looks at ROS* triggers some warnings. My current RFC would be to disable -Wpedantic for external headers.
Known problems:
#pragma GCC diagnostic
is prone for errors (e.g. forgotten pop)-Weverything
)Possible solutions:
-Weverything