Closed
Description
The current implementation requires adding add_compile_options(-w)
in CMakeLists.txt for mros2-esp32 application project to avoid build errors.
https://github.com/mROS-base/mros2-esp32#edit-cmakeliststxt
The issue is caused by -Werror=format
, that is a type format mismatch in mros2-esp32 logging function.
Of course we understand that the correct way is to improve the implementation so that it builds correctly without adding this option. However, we are treating to solve this as a coping mechanism. We will tackle this in the correct way in the future.
Refs:
https://stackoverflow.com/questions/20424625/werror-format-how-can-the-compiler-know
https://esp32.com/viewtopic.php?t=29402
Metadata
Metadata
Assignees
Labels
No labels