Changeset: e1b86546d259 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e1b86546d259
Modified Files:
configure.ag
geom/lib/libgeom.mx
Branch: Apr2011
Log Message:
remove trailing comma
and let icc report #271: "trailing comma is nonstandard" as error
diffs (24 lines):
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -640,6 +640,8 @@
X_CFLAGS="$X_CFLAGS -we266"
dnl Let remark #181 "argument is incompatible with corresponding
format string conversion" become an error.
X_CFLAGS="$X_CFLAGS -we181"
+ dnl Let remark #271: "trailing comma is nonstandard" become an error.
+ X_CFLAGS="$X_CFLAGS -we271"
X_CFLAGS="$X_CFLAGS -Werror"
dnl ... however, some things aren't solved, yet:
dnl (for the time being,) we need to disable some warnings (making
them remarks doesn't seem to work with -Werror):
diff --git a/geom/lib/libgeom.mx b/geom/lib/libgeom.mx
--- a/geom/lib/libgeom.mx
+++ b/geom/lib/libgeom.mx
@@ -102,7 +102,7 @@
wkbMultiPoint = 4,
wkbMultiLineString = 5,
wkbMultiPolygon = 6,
- wkbGeometryCollection = 7,
+ wkbGeometryCollection = 7
} wkb_type;
libgeom_export const char *geom_type2str(int t);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list