From 7688db9129490d0f31f4e05f3d439b9423d63aa9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 31 Mar 2000 07:24:09 +0000 Subject: Update. * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of with size of dynamic sectionfunction. * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up. * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be with size of dynamic sectionused. --- misc/sys/cdefs.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 36510effe1..5880fe9c5e 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -21,7 +21,14 @@ /* We are almost always included from features.h. */ #ifndef _FEATURES_H -#include +# include +#endif + +/* The GNU libc does not support any K&R compilers or the traditional mode + of ISO C compilers anymore. Check for some of the combinations not + anymore supported. */ +#if defined __GNUC__ && !defined __STDC__ +# error "You need a ISO C conforming compiler to use the glibc headers" #endif /* Some user header file might have defined this before. */ -- cgit 1.4.1