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

[Freeciv-Dev] Re: [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] Re: [RFC] String literal length
From: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Date: Fri, 15 Feb 2002 11:37:35 +0100 (MET)

On Mon, 4 Feb 2002, Raimar Falke wrote:
> 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

What compilers are not C99? Aren't gcc and sun cc the only compilers used
for compiling freeciv?

Yours,
Per

"What we anticipate seldom occurs: but what we least expect generally
happens." -- Benjamin Disraeli



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