aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-18 17:04:14 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-18 17:04:14 +0100
commit79112159f8f87efb5aa6fc98def89f4cd50545e8 (patch)
tree8dfafd5690cfb744ee86edfbbbe69dbc5d7779d3 /src/Makefile.am
parent9f6bfcaf9985dd9f6911c95b5df95e1d72a63f0f (diff)
downloadsciteco-79112159f8f87efb5aa6fc98def89f4cd50545e8.tar.gz
disable some bogus warnings for LLVM/Clang
* -Wmismatched-tags does not appear to exist on GCC: but we need to be able to refer to classes with both struct and class keywords because of the BSD data types * -Wchar-subscripts exists on GCC and may or may not be in -Wall. We disable it since we use character literals as subscripts - they are actually of type char in C++, in contrast to C where they are of type int.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 41bc7cf..edd09d1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
include $(top_srcdir)/bootstrap.am
AM_CFLAGS = -Wall -std=c99
-AM_CXXFLAGS = -Wall
+AM_CXXFLAGS = -Wall -Wno-mismatched-tags -Wno-char-subscripts
AM_CPPFLAGS = -D'DEFAULT_SCITECOPATH="@DEFAULT_SCITECOPATH@"'
if NEED_COMPAT
AM_CPPFLAGS += -I@top_srcdir@/compat