This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>>>>> Jes Sorensen writes: > Hi > The latest gcc from sourceware moans if one doesn't include stdlib.h to > get a protoytype for abs(). > I wouldn't be surprised if there are other occurencies, I just noticed > this one because I also hit a compiler crash with it. On ia32 there're should be no occurences. I'm using a current gcc snapshot and check for new warnings - and fixed those already. But I guess that you'll find more such problems in code that's not build on ia32. Andreas > Jes > 2000-06-28 Jes Sorensen <jes@linuxcare.com> > * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get > prototype for abs(). > --- sysdeps/ieee754/dbl-64/e_exp.c~ Wed Jul 14 01:48:30 1999 > +++ sysdeps/ieee754/dbl-64/e_exp.c Wed Jun 28 21:00:25 2000 > @@ -55,6 +55,7 @@ > #ifndef _GNU_SOURCE > #define _GNU_SOURCE > #endif > +#include <stdlib.h> > #include <float.h> > #include <ieee754.h> > #include <math.h> -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |