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] |
>>>>> Jakub Jelinek writes: > Hi! > Including gconv.h when gcc -pedantic spits out unneeded warnings. IMHO -pedantic makes only sense if you also specify -ansi - and since gconv.h is not part of ISO C, we don't really need to care. Andreas > This patch kills them. > 2000-05-04 Jakub Jelinek <jakub@redhat.com> > * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic > happy. > --- libc/iconv/gconv.h.jj Thu Apr 13 09:25:30 2000 > +++ libc/iconv/gconv.h Thu May 4 18:17:30 2000 > @@ -124,7 +124,7 @@ typedef struct __gconv_info > { > size_t __nsteps; > struct __gconv_step *__steps; > - struct __gconv_step_data __data[0]; > + __extension__ struct __gconv_step_data __data[0]; > } *__gconv_t; > #endif /* gconv.h */ > Jakub -- Andreas Jaeger SuSE Labs aj@suse.de
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |