This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Another HP-UX IA64 Build patch
On Thu, 2005-05-05 at 11:12, Daniel Jacobowitz wrote:
> Wait, huh? What do glibc's quirks have to do with HP/UX's libgen.h?
> If you use <libgen.h> on a glibc system you're going to get it without
> the const, no matter what _GNU_SOURCE says.
The prototype in libiberty.h disagrees with POSIX, which means it
disagrees with all systems other than a glibc system. Thus confusion.
The confusion is solved by pointing out the glibc quirk. That was all I
was trying to do.
However, I don't think think this matters much. As I said in the
earlier message, I think we should just use this for hpux anyways.
We change libiberty only when and if a problem arises, and I don't
expect one to arise. The declarations in libiberty shouldn't be used if
there is a system declaration, so there shouldn't be a possibility of a
mismatch here unless there are configure problems.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com