Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] [RFC] String literal length
Home

[Freeciv-Dev] [RFC] String literal length

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [RFC] String literal length
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Feb 2002 21:22:18 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

In ANSI C89 the maximal length of string literals is 509 chars. ISO
C99 enlarges this to 4095 chars. The current source code of freeciv
contains literals larger then 509 chars.

Options:
 - assume a C89 compiler and change freeciv
 - require a C99 compiler
 - leave it and doesn't care about it

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  Tank: So what do you need? Besides a miracle.
  Neo: Guns. Lots of guns.
    -- From The Matrix


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