flipperdevices / flipperzero-ufbt

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

remove -Werror #46

Closed Neo-vortex closed 6 months ago

Neo-vortex commented 6 months 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 6 months 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.