scott douglass <[EMAIL PROTECTED]> 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
that.