[libsoup/wip/remove-deprecations: 22/49] build: Switch to C99 standard
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/remove-deprecations: 22/49] build: Switch to C99 standard
- Date: Tue, 30 Jun 2020 21:56:08 +0000 (UTC)
commit ff8872fe1ee3dbc800d9479132e985884175e613
Author: Patrick Griffis <pgriffis igalia com>
Date: Sat Feb 22 19:26:11 2020 -0800
build: Switch to C99 standard
meson.build | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/meson.build b/meson.build
index a933acb8..795381ed 100644
--- a/meson.build
+++ b/meson.build
@@ -1,8 +1,12 @@
project('libsoup', 'c',
- version: '2.70.0',
- meson_version : '>=0.50',
- license : 'LGPL2',
- default_options : 'c_std=c89')
+ version: '2.70.0',
+ meson_version : '>=0.50',
+ license : 'LGPL2',
+ default_options : [
+ 'warning_level=1',
+ 'c_std=c99',
+ ]
+)
gnome = import('gnome')
@@ -57,11 +61,9 @@ if cc.get_id() == 'msvc'
add_project_arguments(cc.get_supported_arguments(['/utf-8']), language: 'c')
else
test_cflags = [
- '-Wall',
'-Wmissing-include-dirs',
'-Wpointer-arith',
'-Winit-self',
- '-Wdeclaration-after-statement',
'-Werror=missing-prototypes',
'-Werror=implicit-function-declaration',
'-Werror=aggregate-return',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]