[Freeciv-Dev] Re: Compiler-warnings
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On 23 Jan 2001, Gerhard Killesreiter wrote:
> When compiling on IRIX with gcc I get a lot of warnings:
>
> stdinhand.c: In function `cmdlevel_command':
> stdinhand.c:1957: warning: subscript has type `char'
> stdinhand.c:1960: warning: subscript has type `char'
[...]
> I guess they are not significant, but annoying. Would anybody want to
> have the hole list of the messages?
I have equal messages (and lots of others) on Amiga. This message should
be (if equal to SAS-C) a warning, that char types are passed as function
argument, e.g. func(char a, int b). This is "possible" portability
problem, as in real the passed argument is of type int.
I disabled this warning as there are too much in the source to change them
all. I'm still on removing some of the other portability warnings SAS-C
produces (ai directory is warning free [except of disabled ones :-]).
Ciao
____ _ _ ____ _ _ _ _ ____
| | | | | | \ / | | | the cool Gremlin from Bischofswerda
| __ | ____| | \/ | | | WWW: http://home.pages.de/~stoecker/
| | | | | | | | PGP key available on www page.
|____| _|_ |____| _|_ _|_ |____| I hope AMIGA never ends to make fun!
- [Freeciv-Dev] Re: Compiler-warnings, (continued)
- [Freeciv-Dev] Re: Compiler-warnings, Tony Stuckey, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Stepan Roh, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Raimar Falke, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Falk Hueffner, 2001/01/24
- [Freeciv-Dev] Re: Compiler-warnings, Dirk Stoecker, 2001/01/25
[Freeciv-Dev] Re: Compiler-warnings, Reinier Post, 2001/01/24
[Freeciv-Dev] Re: Compiler-warnings,
Dirk Stoecker <=
|
|