-
-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Labels
enhancementTypically new features; lesser priority than bugsTypically new features; lesser priority than bugsrgbasmThis affects RGBASMThis affects RGBASMrgblinkThis affects RGBLINKThis affects RGBLINK
Milestone
Description
For example, compare:
opt -Wassert
def x = 0
pusho -Wno-assert
assert warn, x, "🗣️"
popo
; Does not warn.and
opt -Wassert
pusho -Wno-assert
assert warn, x, "🗣️"
popo
def x = 0
; Warns!(There's also, possibly, an inconsistency between whether rgbasm -Wno-assert but rgblink -Wassert should warn about those assertion failures.)
I think this issue applies not just to assertions, but generalises to any “deferred” warnings, which can also occur from some link-time expressions. There's no way to silence a specific file's warnings, in particular; we may know that one specific warning is spurious (possibly it's in a dependency we do not wish to patch), but still want to be warned about others.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementTypically new features; lesser priority than bugsTypically new features; lesser priority than bugsrgbasmThis affects RGBASMThis affects RGBASMrgblinkThis affects RGBLINKThis affects RGBLINK