Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2000:
[Freeciv-Dev] compiler warnings (Sun's cc on 1.10.0) (PR#269)
Home

[Freeciv-Dev] compiler warnings (Sun's cc on 1.10.0) (PR#269)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] compiler warnings (Sun's cc on 1.10.0) (PR#269)
From: Reinier Post <rp@xxxxxxxxxx>
Date: Tue, 22 Feb 2000 08:22:43 -0800 (PST)

Compiled 1.10.0 (the Xaw client, on an Ultra 10, 64-bits Solaris 7,
with Sun's own Workshop compiler, cc) and got some warnoings.
Nothing serious, I suppose, but here they are anyway:

"log.c", line 109: warning: end-of-loop code not reached
"log.c", line 130: warning: end-of-loop code not reached
"log.c", line 139: warning: end-of-loop code not reached
"log.c", line 141: warning: end-of-loop code not reached

"aiunit.c", line 1735: warning: statement not reached

"dialogs.c", line 1454: warning: assignment type mismatch:
        pointer to function(pointer to struct _WidgetRec {}, pointer to char, 
pointer to char) returning void "=" pointer to void

"./../include/freeciv.ico", line 4: warning: initializer does not fit or is out 
of range: 128
"./../include/freeciv.ico", line 4: warning: initializer does not fit or is out 
of range: 255

(these go on and on ...)

"wldlg.c", line 533: warning: argument #2 is incompatible with prototype:
        prototype: pointer to char : "wldlg.c", line 151
        argument : pointer to struct worklist_dialog {pointer to struct 
_WidgetRec {..} worklist, pointer to struct _WidgetRec {..} avail, poin...

-- 
Reinier Post




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