Paul Eggert <[EMAIL PROTECTED]> wrote: > When I wrote randread.c I forgot to put an #ifndef __attribute__ around > the #define __attribute__, as all other files do. Sorry about that. > > The bug crops up with pedantic GCC only. > > Here's a patch: > > 2006-11-22 Paul Eggert <[EMAIL PROTECTED]> > > * randread.c (__attribute__): Don't define if __attribute__ is > already defined. Otherwise, the code won't conform to C99, since > the macro arg is spelled differently by some include file, and the > compilation fails with pedantic GCC.
Thanks. Applied. And pushed, so you can already see it here: http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=summary I've sync'd it to cvs, too, but it takes longer to reach that repository. _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
