-
-
Notifications
You must be signed in to change notification settings - Fork 403
Add configuration option for --warnings
(and maybe --optimize-for-debug
)
#1085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@matthijskooijman maybe we could add a |
Possibly, yes. 99% (or something like that) of the uploads I do are during development, for testing, only a fraction is actually uploading a final product (and even then
That could also be a good idea, though I'd consider doing this in addition to adding a config option. Maybe |
living on the edge :D I'll push for a config setting, and I think I'd go for |
Sounds good, thanks! Just realized that this also means a |
Hi just wanted to +1 having a warnings config setting since I prefer to see them. In particular this is because the permissive flag that is passed to the compiler is downgrading some errors and then they were being squashed due to the default warnings value. |
Bug Report
Current behavior
arduino-cli compile
has a--warnings
option to enable warnings for a single compilation run.Expected behavior
I would like to be able to set a default value for
--warnings
in my config file (i.e. to enable warnings on all compilations).Environment
arduino-cli version
): recent git masterThe text was updated successfully, but these errors were encountered: