Project

General

Profile

Actions

Bug #2274

closed

Meson: Duplicate setting of '-Wshadow'

Added by Marko Lindqvist 23 days ago. Updated 3 days ago.

Status:
Closed
Priority:
Normal
Category:
Bootstrap
Target version:
Start date:
09/22/2026
Due date:
% Done:

0%

Estimated time:

Description

Split from #2150

meson.build sets '-Wshadow' both for C and C++ compiler among other compiler flags from c_cpp_args array.
There's also a block where it sets '-Wshadow' conditionally, if this is a debug build. This makes no sense as it's already set unconditionally. Remove this latter code to set '-Wshadow'.


Files


Related issues 1 (1 open — 0 closed)

Blocks Bug #2150: Meson: -Wno-error=attributes set without checking if compiler supports itIn ReviewMarko Lindqvist08/18/2026

Actions
Actions

Also available in: Atom PDF