Actions
Bug #2150
openMeson: -Wno-error=attributes set without checking if compiler supports it
Start date:
08/18/2026
Due date:
% Done:
0%
Estimated time:
Description
meson.build sets global argument -Wshadow without first checking if the compiler supports it.
Files
Updated by Marko Lindqvist 23 days ago
Main problem of this type is actually '-Wno-error=attributes'.
That setting of '-Wshadow' is a duplicate that should be removed completely.
Updated by Marko Lindqvist 16 days ago
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.
Updated by Marko Lindqvist 16 days ago
- Subject changed from Meson: -Wshadow set without checking if compiler supports it to Meson: -Wno-error=attributes set without checking if compiler supports it
Updated by Marko Lindqvist 12 days ago
- Blocks Feature #2294: CI: -Dwerror=true to meson jobs added
Updated by Marko Lindqvist 12 days ago
- Blocked by Bug #2274: Meson: Duplicate setting of '-Wshadow' added
Updated by Marko Lindqvist 12 days ago
- File 0081-Meson-Remove-setting-Wno-error-attributes.patch 0081-Meson-Remove-setting-Wno-error-attributes.patch added
- Status changed from New to In Review
- Assignee set to Marko Lindqvist
- Target version set to 3.2.7
Updated by Marko Lindqvist 9 days ago
- Blocks Feature #2344: Msys2: -Dwerror=true added
Actions