diff src/compiler.h @ 2270:0be6ff2356c8

[xemacs-hg @ 2004-09-14 18:22:31 by james] Fix noreturn-related warnings for icc and gcc.
author james
date Tue, 14 Sep 2004 18:22:35 +0000
parents 61855263cb07
children 04bc9d2f42c7
line wrap: on
line diff
--- a/src/compiler.h	Tue Sep 14 14:40:19 2004 +0000
+++ b/src/compiler.h	Tue Sep 14 18:22:35 2004 +0000
@@ -113,7 +113,9 @@
 #ifndef DOESNT_RETURN_TYPE
 # if (GCC_VERSION > NEED_GCC (0, 0, 0))
 #  if (GCC_VERSION >= NEED_GCC (2, 5, 0))
-#   define RETURN_NOT_REACHED(value) DO_NOTHING
+#   ifndef __INTEL_COMPILER
+#    define RETURN_NOT_REACHED(value) DO_NOTHING
+#   endif
 #   define DOESNT_RETURN_TYPE(rettype) rettype
 #   define DECLARE_DOESNT_RETURN_TYPE(rettype,decl) rettype decl \
 	   __attribute__ ((noreturn))