Closed amilcarlucas closed 2 years ago
It seems this was a gcc bug that was fixed in 7.1. The warning is there to tell you that mixing code compiled with GCC 7.1 and earlier versions might result in undefined behavior.
We could add -Wno-psabi
to the compiler flags in CMakeLists.txt
, but the warning is there for a reason (and I cannot check whether e.g. your system libraries are compiled with GCC < 7.1). So I won't do anything in rosmon.
If you want to suppress the warning, you can add -DCMAKE_CXX_FLAGS=-Wno-psabi
to your cmake arguments.
Details about the bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728
I get these compile warnings when compiling 2.4.0 on arm_v7