[cogl/cogl-1.20] build: Use -Werror for some compiler warnings
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.20] build: Use -Werror for some compiler warnings
- Date: Wed, 10 Jun 2015 14:34:50 +0000 (UTC)
commit 2c054aaaaa49c3b71e2735ef1365f51a484091fc
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Jun 10 15:32:18 2015 +0100
build: Use -Werror for some compiler warnings
We care especially about the violations of C89, for portability on some
compilers.
configure.ac | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 72d3ffd..b923247 100644
--- a/configure.ac
+++ b/configure.ac
@@ -371,11 +371,11 @@ AC_ARG_ENABLE(
enable_maintainer_flags=maintainer_default
)
-MAINTAINER_COMPILER_FLAGS="-Wall -Wcast-align -Wuninitialized
- -Wno-strict-aliasing -Wempty-body -Wformat
- -Wformat-security -Winit-self -Wundef
- -Wdeclaration-after-statement -Wvla
- -Wpointer-arith -Wmissing-declarations"
+MAINTAINER_COMPILER_FLAGS="-Wall -Werror=cast-align -Wformat -Wformat-security
+ -Werror=uninitialized -Werror=no-strict-aliasing
+ -Werror=empty-body -Werror=init-self -Werror=undef
+ -Werror=declaration-after-statement -Werror=vla
+ -Werror=pointer-arith -Werror=missing-declarations"
AS_CASE(
[$enable_maintainer_flags],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]