Changeset: ca4ba1566262 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ca4ba1566262
Modified Files:
configure.ag
Branch: Mar2011
Log Message:
configure: ignore remark 2259 from icc
remark #2259: non-pointer conversion from "<type>" to "<smallertype>" may lose
significant bits
this also holds for
short s = 1234;
which is too much, as it is all over our code.
diffs (20 lines):
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -718,8 +718,14 @@
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):
X_CFLAGS="$X_CFLAGS -wd1418,1419,981,810,193,111,1357"
- dnl burg uses old-style parameter lists (anachronisms)
- X_CFLAGS="$X_CFLAGS -wd310"
+ dnl ICC 11 warns about non-pointer conversion from "<type>" to
+ dnl "<smaller>" may lose significant bits, it does however, also for
+ dnl constants like short s = 1234, which is too much
+ case $icc_ver in
+ 11.*) X_CFLAGS="$X_CFLAGS,2259" ;;
+ esac
+ dnl burg uses old-style parameter lists (anachronisms), ignore for now
+ X_CFLAGS="$X_CFLAGS,310"
case $icc_ver in
8.[[1-9]]*) X_CFLAGS="$X_CFLAGS,1572" ;;
9.[[1-9]]*) X_CFLAGS="$X_CFLAGS,1572,1599" ;;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list