RI-SE / ATOS

ROS2 based platform for coordinating tests of automated vehicles and their surrounding systems.
Mozilla Public License 2.0
13 stars 5 forks source link

Fix the compiler warnings that occurs when building the modules #612

Closed samuelthoren closed 9 months ago

samuelthoren commented 10 months ago

I have fixed all the compiler warnings that occurs with -Wall -Wextra when compiling with GCC or Clang. This PR is only for the warnings that occurs when building the modules, which means some of the files in common are also affected. I have not fixed any warnings that occurs when building the common directory or the iso22133-submodule. I think before we fix all compiler warnings there we need to first remove a lot of old code that is no longer used since there is no meaning in fixing code that isn't used.

Please let me know if any of the changes are implemented wrong or breaks anything.