mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 03:38:03 +02:00
meson.build: Bump to C11 with GNU extensions
Weston seems quite ready for that so let us do it! This makes the winpr3 Static assert warning message go away, allowing us to perform a build (as we fail with any type of warnings). Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
d17e61546e
commit
cfbf49d7e0
2 changed files with 1 additions and 9 deletions
|
|
@ -27,14 +27,6 @@
|
|||
#ifndef RDP_H
|
||||
#define RDP_H
|
||||
|
||||
/* Workaround an issue with clang and freerdp 3 headers. Another
|
||||
* option would be to build with --std=c11 but weston itself isn't
|
||||
* quite ready for that
|
||||
*/
|
||||
#if USE_FREERDP_VERSION >= 3 && defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wtypedef-redefinition"
|
||||
#endif
|
||||
|
||||
#include <freerdp/version.h>
|
||||
|
||||
#include <freerdp/freerdp.h>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ project('weston',
|
|||
version: '14.0.90',
|
||||
default_options: [
|
||||
'warning_level=3',
|
||||
'c_std=gnu99',
|
||||
'c_std=gnu11',
|
||||
'b_lundef=true',
|
||||
],
|
||||
meson_version: '>= 0.63.0',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue