[Freeciv-Dev] Re: Quick #error question
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 2 Aug 2001, justin@xxxxxxxxxxx wrote:
>
> Quick question,
> In intl/gettext.h, line 64 why isn't #error used?
>
> ---61,67---
> # if ULONG_MAX == UINT_MAX_32_BITS
> typedef unsigned long nls_uint32;
> # else
> /* The following line is intended to throw an error. Using #error
> is not portable enough. */ "Cannot determine unsigned 32-bit
> data type."
> # endif
> ---
>
> But it's used in these other files:lines,
> ./common/fcintl.h:18
> ./common/speclist.h:60
> ./common/speclist_c.h:28
> ./common/version.h:18
>
> Out of curiousity, I was running freeciv through lclint and the
> preprocessor kept barfing in gettext.h.
Those files are part of GNU gettext, which is rather more portable
than Freeciv.
--
Big Gaute http://www.srcf.ucam.org/~gs234/
It's OKAY --- I'm an INTELLECTUAL, too.
|
|