bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gettext 0.14.1 fails to build on HP-UX with HP C compiler


From: Paul Eggert
Subject: Re: gettext 0.14.1 fails to build on HP-UX with HP C compiler
Date: Wed, 26 May 2004 00:28:50 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

address@hidden (Albert Chin-A-Young) writes:

> HP's C compiler doesn't like reusing an enum constant while defining
> the enum. The solution seems to be changing sa_alignment_<type> to
> sa_alignof (<type>).

Can't you just break the enum in half?  E.g., instead of this:

  enum { foo = 100, bar = 200, baz = foo | bar };

do this:

  enum { foo = 100, bar = 200 };
  enum { baz = foo + bar };




reply via email to

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