flipperdevices / flipperzero-ufbt

Compact tool for building and debugging applications for Flipper Zero.
https://pypi.org/project/ufbt/
GNU General Public License v3.0
494 stars 36 forks source link

remove -Werror #46

Closed Neo-vortex closed 1 month ago

Neo-vortex commented 1 month ago

-Werror is not usefull all the times and even if I remove it from compile_commands.json, it regenerates on every run

hedger commented 1 month ago

We have warnings configuration tailored to be as relevant for embedded development as possible, so that the warnings that are enforced with -Werror usually reflect potential issues.

However, it is only enforced for main application sources that you create and maintain. If your app includes 3rd party libraries which you don't fully maintain, you can put them in fap_private_libs - for them -Werror enforcement is disabled.