Complete.Org: Mailing Lists: Archives: freeciv-dev: March 1999:
Re: [Freeciv-Dev] warnings
Home

Re: [Freeciv-Dev] warnings

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx (Freeciv developers)
Subject: Re: [Freeciv-Dev] warnings
From: Reinier Post <rp@xxxxxxxxxx>
Date: Thu, 25 Mar 1999 12:44:11 +0100

> Hi,
> on my Solaris 2.6 box, I had some warnings. Most of them were use
> of char instead of `unsigned char' in isalpha and other functions.

Um, all of these are sins against ANSI C, I believe.

Assuming that everyone's development compiler is gcc + GNU make,
it may be useful to adopt the convention that patches are tested with

  make 'CFLAGS += -pedantic'

This will capture ANSI C problems right away.

-- 
Reinier

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