changeset 2050:a741f294362b

[xemacs-hg @ 2004-04-30 14:59:15 by james] Get a good XRegisterIMInstantiateCallback prototype with ICC.
author james
date Fri, 30 Apr 2004 14:59:17 +0000
parents 97d0858a089b
children a7dd0aed0fe6
files ChangeLog configure configure.in
diffstat 3 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Apr 29 21:50:45 2004 +0000
+++ b/ChangeLog	Fri Apr 30 14:59:17 2004 +0000
@@ -1,3 +1,8 @@
+2004-04-30  Jerry James  <james@xemacs.org>
+
+	* configure.in: Turn ICC warning 147 into an error to get a good
+	XRegisterIMInstantiateCallback prototype.
+
 2004-04-28  Jerry James  <james@xemacs.org>
 
 	* configure.in: Get version information for both icc and icpc.
--- a/configure	Thu Apr 29 21:50:45 2004 +0000
+++ b/configure	Fri Apr 30 14:59:17 2004 +0000
@@ -2939,7 +2939,7 @@
       xe_cflags_warning="$cflags_warning -Weffc++"
     cflags_warning="$cflags_warning -Wshadow -Wmissing-declarations"
           elif test "$__ICC" = "yes"; then
-    cflags_warning="-Wall -w1"
+    cflags_warning="-Wall -w1 -we147"
     fi
 fi
 test -z "$xe_cflags_warning" && xe_cflags_warning="$cflags_warning"
--- a/configure.in	Thu Apr 29 21:50:45 2004 +0000
+++ b/configure.in	Fri Apr 30 14:59:17 2004 +0000
@@ -2078,7 +2078,7 @@
     dnl **** If more gcc/g++ flags are added, from here on must handle
     dnl **** cflags_warning and xe_cflags_warning in parallel
   elif test "$__ICC" = "yes"; then
-    cflags_warning="-Wall -w1"
+    cflags_warning="-Wall -w1 -we147"
   dnl ### Add optimal cflags_warning support for other compilers HERE!
   fi
 fi