Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Quick #error question
Home

[Freeciv-Dev] Quick #error question

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Quick #error question
From: Justin Moore <justin@xxxxxxxxxxx>
Date: Thu, 2 Aug 2001 12:15:52 -0400 (EDT)

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.

-jdm

Department of Computer Science, Duke University, Durham, NC 27708-0129
Email:  justin@xxxxxxxxxxx



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