Project

General

Profile

Actions

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.

Status:
In Review
Priority:
Normal
Category:
Bootstrap
Target version:
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


Related issues 3 (2 open — 1 closed)

Blocks Feature #2294: CI: -Dwerror=true to meson jobsNew09/26/2026

Actions
Blocked by Bug #2274: Meson: Duplicate setting of '-Wshadow'ClosedMarko Lindqvist09/22/2026

Actions
Blocks Feature #2344: Msys2: -Dwerror=trueNew10/06/2026

Actions
Actions #1

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.

Actions #2

Updated by Marko Lindqvist 23 days ago

Marko Lindqvist wrote in #note-1:

That setting of '-Wshadow' is a duplicate that should be removed completely.

-> #2274

Actions #3

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.

Actions #4

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
Actions #5

Updated by Marko Lindqvist 12 days ago

Actions #6

Updated by Marko Lindqvist 12 days ago

  • Blocked by Bug #2274: Meson: Duplicate setting of '-Wshadow' added
Actions #7

Updated by Marko Lindqvist 12 days ago

Actions #8

Updated by Marko Lindqvist 9 days ago

Actions

Also available in: Atom PDF