The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

meson: Raise default warning level.

Increases the default warning level to 3, which includes pedantic
errors. Disable them on C++, which is the way it was done before.

To resolve most pedantic warnings on C++ either the compiler standard
would need to be increased to c++2a or the remaining copositor backends
would require porting to plain C. One of each or both should happen in
the future.

+2 -2
+2 -2
meson.build
··· 9 9 meson_version: '>=0.49.0', 10 10 default_options: [ 11 11 'c_std=c11', 12 - 'warning_level=2', 12 + 'warning_level=3', 13 13 ], 14 14 ) 15 15 ··· 18 18 19 19 add_project_arguments(cc.get_supported_arguments([ 20 20 '-D_XOPEN_SOURCE=700', 21 - '-pedantic', 22 21 '-Wno-unused-parameter', 23 22 ]), language: 'c') 24 23 25 24 add_project_arguments(cpp.get_supported_arguments([ 26 25 '-D_XOPEN_SOURCE=700', 26 + '-Wno-pedantic', 27 27 '-Wno-unused-parameter', 28 28 '-Wno-deprecated-copy', # Eigen 29 29 ]), language: 'cpp')