[Top][All Lists]

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

Re: configure problem on HP-UX 11

From: Kevin Ryde
Subject: Re: configure problem on HP-UX 11
Date: Tue, 25 Jun 2002 08:38:23 +1000
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu)

scott douglass <address@hidden> writes:
> HP/UX /opt/ansic/bin/cc version B.11.11.04 can't compile this legal
> fragment which is fairly common in GNU sources typically from
> .../gettext.c:
> typedef unsigned nls_uint32;
> static inline nls_uint32
> SWAP (i)

I struck that in GMP.  Has to be a compiler bug I think, certainly I
for one didn't feel inclined to change any typedefs to #defines or
whatever just to work with that cc.

> #ifndef __cplusplus
> typedef unsigned nls_uint32;
> static $ac_kw nls_uint32 static_foo () {return 0; }
> $ac_kw nls_uint32 foo () {return 0; }
> #endif
> so that this version of the HP/UX will fail the configure test and
> avoid the problem.

Great minds think alike :-); the autoconf cvs has pretty much exactly

reply via email to

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