Hi Derek, > From: Derek Price > > >A gcc upgrade sure helps. I installed gcc 3.4.2 binary from SunFreeWare.\ > > I brought up changes to the GNULIB stat module up on bug-gnulib and > found out that this problem has been encountered before. GNULIB is > going to continue supporting the older gccs without the fix you found in > 3.4.2, so I have updated the glob.c file to use struct_stat64 in place > of struct stat, and #defined struct_stat64 to struct stat64 or struct > stat as appropriate. Does this work for you with whichever compiler you > choose to stick with?
I'd like to suggest defining "struct_name" with a "typedef" instead of a "#define" as the preprocessor is recursive and a "struct stat" macro value will still be substituted by "#define stat ..." macro. I loaded the gcc 2.95 compiler for the sole purpose of compiling CVS on this platform since previously CVS Home didn't offer a binary for this platform. I loaded the gcc 3.4 compiler for the sole purpose of fixing the CVS compile on this platform. I assume both versions can coexist with appropriate configuration. I turn the questions around: How can we use both versions to the CVS Project's advantage? Which version should be canonical for next binary release? > Regards, Ditto, > Derek Conrad _______________________________________________ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs