Re: [Freeciv-Dev] warnings
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> 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
|
|