Changeset: e00c4c359c3b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e00c4c359c3b
Modified Files:
        configure.ag
Branch: default
Log Message:

Disable warning -Wchar-subscript.


diffs (15 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -628,6 +628,11 @@ dnl                MCHECK_ADD_FLAG([-Wdeclaration-afte
                MCHECK_ADD_FLAG([-Wrestrict])
                MCHECK_ADD_FLAG([-Wnested-externs])
 
+               # since we use values of type "int8_t" as subscript,
+               # and int8_t may be defined as plain "char", we cannot
+               # allow this warning (part of -Wall)
+               MCHECK_ADD_FLAG([-Wno-char-subscripts])
+
                # We can deal with -Wunrechable-code on modern
                # compilers, but FreeBSD's clang (3.4.1) is too old.
                # We need a version that understands the DISABLES
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to