Bug #2150
open
Meson: -Wno-error=attributes set without checking if compiler supports it
Added by Marko Lindqvist about 2 months ago.
Updated 12 days ago.
Description
meson.build sets global argument -Wshadow without first checking if the compiler supports it.
Files
Main problem of this type is actually '-Wno-error=attributes'.
That setting of '-Wshadow' is a duplicate that should be removed completely.
Marko Lindqvist wrote in #note-1:
That setting of '-Wshadow' is a duplicate that should be removed completely.
-> #2274
Marko Lindqvist wrote in #note-1:
Main problem of this type is actually '-Wno-error=attributes'.
I don't think the code setting the flag does anything good at the moment. Even if it would be needed (I don't think it is), it's broken as is.
Just remove it now, and reimplement properly in a future ticket if it turns out to be necessary.
- Subject changed from Meson: -Wshadow set without checking if compiler supports it to Meson: -Wno-error=attributes set without checking if compiler supports it
- Blocked by Bug #2274: Meson: Duplicate setting of '-Wshadow' added
Also available in: Atom
PDF