From a81b7e175197844b25ef3c9e0c3835b03ff3b653 Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Tue, 31 Mar 2020 17:58:30 +0200 Subject: [PATCH] meson: Don't specify warning level manually. Since we already specify a `warning_level` in the project settings, it is redundant to manually specify it as compiler parameters. This patch resolves the following meson warning: ``` meson.build:25: WARNING: Consider using the built-in warning_level option instead of using "-Wall". meson.build:25: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". ``` --- meson.build | 4 ---- 1 file changed, 4 deletions(-) diff --git a/meson.build b/meson.build index 50258bd87..2e89e6f4b 100644 --- a/meson.build +++ b/meson.build @@ -19,15 +19,11 @@ cpp = meson.get_compiler('cpp') add_project_arguments(cc.get_supported_arguments([ '-D_XOPEN_SOURCE=700', '-pedantic', - '-Wall', - '-Wextra', '-Wno-unused-parameter', ]), language: 'c') add_project_arguments(cpp.get_supported_arguments([ '-D_XOPEN_SOURCE=700', - '-Wall', - '-Wextra', '-Wno-unused-parameter', '-Wno-deprecated-copy', # Eigen ]), language: 'cpp')