Project

General

Profile

Actions

Bug #2150

closed

Meson: -Wno-error=attributes set without checking if compiler supports it

Added by Marko Lindqvist 3 months ago. Updated about 1 month ago.

Status:
Closed
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=trueIn ReviewMarko Lindqvist10/06/2026

Actions
Actions #1

Updated by Marko Lindqvist 2 months 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 2 months 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 about 2 months 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 about 2 months 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 about 2 months ago

Actions #6

Updated by Marko Lindqvist about 2 months ago

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

Updated by Marko Lindqvist about 2 months ago

Actions #8

Updated by Marko Lindqvist about 2 months ago

Actions #9

Updated by Marko Lindqvist about 1 month ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF