[gnome-builder] build: update default C compiler flags
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] build: update default C compiler flags
- Date: Tue, 12 Jul 2022 06:39:07 +0000 (UTC)
commit c4bf0ace8c0a7aa8ed3c81367b12f0eb27aabd89
Author: Christian Hergert <chergert redhat com>
Date: Mon Jul 11 15:59:13 2022 -0700
build: update default C compiler flags
meson.build | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 0f4dea453..bf39e2e4a 100644
--- a/meson.build
+++ b/meson.build
@@ -155,8 +155,7 @@ test_c_args = [
'-Werror=empty-body',
'-Werror=implicit',
'-Werror=implicit-function-declaration',
- # Ignore until mkenums is fixed
- # '-Werror=incompatible-pointer-types',
+ '-Werror=incompatible-pointer-types',
'-Werror=init-self',
'-Werror=int-conversion',
'-Werror=int-to-pointer-cast',
@@ -173,7 +172,6 @@ test_c_args = [
'-Werror=return-type',
'-Werror=sequence-point',
'-Werror=shadow',
- '-Werror=strict-prototypes',
'-Werror=trigraphs',
'-Werror=undef',
'-Werror=write-strings',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]