Complete.Org: Mailing Lists: Archives: freeciv-dev: January 1999:
[Freeciv-Dev] Compilation on Solaris
Home

[Freeciv-Dev] Compilation on Solaris

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Compilation on Solaris
From: Mika Korhonen <mikak@xxxxxxxxxxxx>
Date: Mon, 25 Jan 1999 11:38:40 +0200 (EET DST)

        
While compiling I get tons of these warnings: 
...
/usr/openwin/include/X11/Xlib.h:3945: 
        warning: type defaults to `int' in declaration of `XStoreBuffer' 
/usr/openwin/include/X11/Xlib.h:3953:
        warning: type defaults to `int' in declaration of `XStoreBytes'
/usr/openwin/include/X11/Xlib.h:3961: 
        warning: type defaults to `int' in declaration of `XStoreColor' 
...


Having a look in Xlib.h reveals:
        extern XStoreBuffer(
        #if NeedFunctionPrototypes
            Display*            /* display */,
            _Xconst char*       /* bytes */,
            int                 /* nbytes */,
            int                 /* buffer */
        #endif
        );

(tk10)(mikak)(106)(freeciv) uname -a
SunOS tk10 5.6 Generic_105181-10 sun4u sparc SUNW,Ultra-2

(tk10)(mikak)(107)(freeciv) gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
gcc version 2.8.1

Things work just fine but 99.5% of compiler output consists of those
above. Obviously somewhere happens type conversions which gcc is not happy
with :) (Xlib version problems?)

        Mika    
_______________________________________________________________________________
History tends to exaggerate.
                -- Col. Green, "The Savage Curtain", stardate 5906.4



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