mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
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". ```
This commit is contained in:
parent
7d5d43a1c0
commit
a81b7e1751
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue