Project

General

Profile

Actions

Bug #1316

closed

meson: set warning level appropriately

Added by Matt Jolly 4 months ago. Updated 13 days ago.

Status:
Closed
Priority:
Normal
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'

Files


Related issues 2 (1 open1 closed)

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

Actions
Blocks Tasks #1612: Release 3.2.1NewMarko Lindqvist07/17/2025

Actions
Actions #1

Updated by Marko Lindqvist 3 months ago

  • Related to Feature #1347: CodingStyle: Update autotools options to meson ones added
Actions #2

Updated by Marko Lindqvist 3 months ago

Actions #3

Updated by Marko Lindqvist 3 months ago

  • Target version set to 3.2.0-RC1

Patch from that PR applies to main branch, but we need versions for S3_3 and S3_2 too.

Actions #4

Updated by Marko Lindqvist about 2 months ago

  • Target version changed from 3.2.0-RC1 to 3.2.1
Actions #5

Updated by Marko Lindqvist 21 days ago

Marko Lindqvist wrote in #note-3:

Patch from that PR applies to main branch, but we need versions for S3_3 and S3_2 too.

Attached. (same patch applies to both S3_3 and S3_2)

Actions #6

Updated by Marko Lindqvist 21 days ago

Actions #7

Updated by Marko Lindqvist 13 days ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF