Project

General

Profile

Actions

Bug #1316

open

meson: set warning level appropriately

Added by Matt Jolly about 1 month ago. Updated 28 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Bootstrap
Target version:
Start date:
04/23/2025
Due date:
% Done:

0%

Estimated time:

Description

We currently set `-Wall` as a compiler option along with the other `-W` options, then apply that to the C and C++ compiler.

Meson warns us about this each time.

Compiler for C supports arguments -Wall: YES 
../meson.build:53: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
Compiler for C++ supports arguments -Wall: YES 
../meson.build:58: WARNING: Consider using the built-in warning_level option instead of using "-Wall".

We should make the suggested change as it:

  1. enables users or downstreams to configure warnings as they need / desire
  2. reduces configure noise
  3. is automatically applied to supported compilers
  4. is the 'meson way'

Related issues 1 (0 open1 closed)

Related to Feature #1347: CodingStyle: Update autotools options to meson onesClosedMarko Lindqvist05/02/2025

Actions
Actions

Also available in: Atom PDF