Mercurial > hg > xemacs-beta
changeset 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 | e13775448cf0 |
children | 0dfff19d20da |
files | src/ChangeLog src/compiler.h src/glyphs-eimage.c |
diffstat | 3 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue Sep 14 14:40:19 2004 +0000 +++ b/src/ChangeLog Tue Sep 14 18:22:35 2004 +0000 @@ -1,3 +1,8 @@ +2004-09-14 Jerry James <james@xemacs.org> + + * compiler.h: Change definition of RETURN_NOT_REACHED for icc. + * glyphs-eimage.c (tiff_memory_write): Quiet gcc warning. + 2004-09-13 Jerry James <james@xemacs.org> * callproc.c: Really remove.
--- 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))