[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Feature Branch Solaris Build Broken - lib/glob.c errors

From: Conrad T. Pino
Subject: RE: Feature Branch Solaris Build Broken - lib/glob.c errors
Date: Wed, 25 May 2005 11:58:43 -0700

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,


> Derek


reply via email to

[Prev in Thread] Current Thread [Next in Thread]