-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Refactoring and enhancements to RGBASM warnings #1526
Conversation
I'm not sure that I like |
Consistency. The mental model for |
But several options are not supported already: I don't think that |
Sure, "this option makes no sense" is a reasonable argument. "This option is perfectly functional and meaningful, but I don't like it" is a very dubious one. |
The rationale for
I could go on, but to me, every single one of the currently-supported |
I have absolutely no issues with |
My two reasons for including |
I'd say there's a clear line that you can have: things that can be pushed and popped. |
This is the pseudocode logic we should follow, after #1527 is also implemented:
|
1e2b856
to
de746c6
Compare
4b5cc8b
to
b44c1fb
Compare
8dc0bb4
to
a6afe01
Compare
So, |
0916f3f
to
f9ed4a3
Compare
1cce123
to
e003803
Compare
* Allow a `no-` prefix to negate "meta" warnings (`-Wno-all`, `-Wno-extra`, `-Wno-everything`) * Allow `-Wno-error=...` to override `-Werror` (including for "meta" warnings)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't fully grok the implementation, but Sylvie walked me through the logic, and it seems sound. That's enough for me, so, merging.
Fixes #1527
no-
prefix to negate "meta" warnings (-Wno-all
,-Wno-extra
,-Wno-everything
)-Wno-error
to prevent-Werror
from making specific individual or meta warnings into errorsNeeds more test cases, but ready to review as-is. (test/asm/warn-numeric-string.asm covers a lot already.)
(And yay, -55 LoC!)