[gnome-commander/get_rid_of_xml] Ignore errors occuring from paranthesis and cast function type warnings
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/get_rid_of_xml] Ignore errors occuring from paranthesis and cast function type warnings
- Date: Thu, 17 May 2018 21:34:27 +0000 (UTC)
commit a2dd318ab857fb41869ee021114f6f912c4f7b89
Author: Uwe Scholz <u scholz83 gmx de>
Date: Thu May 17 23:14:53 2018 +0200
Ignore errors occuring from paranthesis and cast function type warnings
libgcmd/Makefile.am | 2 +-
src/Makefile.am | 4 +++-
src/dialogs/Makefile.am | 3 ++-
src/intviewer/Makefile.am | 3 ++-
src/tags/Makefile.am | 3 ++-
5 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/libgcmd/Makefile.am b/libgcmd/Makefile.am
index 194798e..bd403c8 100644
--- a/libgcmd/Makefile.am
+++ b/libgcmd/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
-AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses
+AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses -Werror=cast-function-type
-Wno-cast-function-type
AM_LDFLAGS = $(WARN_LDFLAGS)
AM_CPPFLAGS = \
diff --git a/src/Makefile.am b/src/Makefile.am
index 1474a82..38da74a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,9 @@
SUBDIRS = dialogs tags intviewer
-AM_CXXFLAGS = $(WARN_CXXFLAGS) -Wno-error=switch-default -Wno-switch-default
+AM_CXXFLAGS = $(WARN_CXXFLAGS) -Wno-error=switch-default -Wno-switch-default \
+ -Werror=parentheses -Wno-parentheses \
+ -Werror=cast-function-type -Wno-cast-function-type
AM_LDFLAGS = $(WARN_LDFLAGS)
AM_CPPFLAGS = \
diff --git a/src/dialogs/Makefile.am b/src/dialogs/Makefile.am
index 23381a6..db632fc 100644
--- a/src/dialogs/Makefile.am
+++ b/src/dialogs/Makefile.am
@@ -2,7 +2,8 @@
noinst_LIBRARIES = libgcmd-dialogs.a
-AM_CXXFLAGS = $(WARN_CXXFLAGS)
+AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses \
+ -Werror=cast-function-type -Wno-cast-function-type
AM_LDFLAGS = $(WARN_LDFLAGS)
AM_CPPFLAGS = \
diff --git a/src/intviewer/Makefile.am b/src/intviewer/Makefile.am
index 9d7c6d0..5135e8f 100644
--- a/src/intviewer/Makefile.am
+++ b/src/intviewer/Makefile.am
@@ -1,6 +1,7 @@
## Process this file with automake to produce Makefile.in
-AM_CXXFLAGS = $(WARN_CXXFLAGS)
+AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses \
+ -Werror=cast-function-type -Wno-cast-function-type
AM_LDFLAGS = $(WARN_LDFLAGS)
AM_CPPFLAGS = \
diff --git a/src/tags/Makefile.am b/src/tags/Makefile.am
index 6f14e2b..c9e0da3 100644
--- a/src/tags/Makefile.am
+++ b/src/tags/Makefile.am
@@ -2,7 +2,8 @@
noinst_LIBRARIES = libgcmd-tags.a
-AM_CXXFLAGS = $(WARN_CXXFLAGS)
+AM_CXXFLAGS = $(WARN_CXXFLAGS) -Werror=parentheses -Wno-parentheses \
+ -Werror=cast-function-type -Wno-cast-function-type
AM_LDFLAGS = $(WARN_LDFLAGS)
AM_CPPFLAGS = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]