On 6/11/05, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I have tested the compilation on following platforms/os'es
> 
>     Solaris(sparc) 2.6/2.8
>     Linux(intel) SuSE8.2/9.1
>     Mac OSX(powerpc) Darwin 6.8/7.9/8.0 (aka Mac OSX 10.2/10.3/10.4)
> 
> Next week we will finish the Windows port and there will be
> some things changed as well....
> 
> I have fixed some trivial cases in the CVS.
> Those things are still being complained about:
> 
> --------
> signal.c: In function `ns_sigmask':
> signal.c:61: warning: implicit declaration of function `pthread_sigmask'
> (Solaris 2.6/2.8)
> 
> --------
> pathname.c: In function `MakePath':
> pathname.c:738: warning: subscript has type `char'
> pathname.c: In function `ServerRoot':
> pathname.c:813: warning: subscript has type `char'
> (All platforms)
> 
> --------
> return.c: In function `Ns_ConnConstructHeaders':
> return.c:262: warning: suggest parentheses around && within ||
> (All platforms)
> 
> --------
> tclsock.c:841: warning: `SockSetBlocking' defined but not used
> (All platforms)
> 
> --------
> nscgi.c: In function `CgiExec':
> nscgi.c:776: warning: `Ns_DecodeUrlCharset' is deprecated (declared
> at ../include/ns.h:1289)
> nscgi.c:784: warning: `Ns_DecodeUrlCharset' is deprecated (declared
> at ../include/ns.h:1289)
> nscgi.c:806: warning: `Ns_ConnLocation' is deprecated (declared at ../
> include/ns.h:638)
> nscgi.c:838: warning: `Ns_ConnLocation' is deprecated (declared at ../
> include/ns.h:638)
> nscgi.c:934: warning: `Ns_DecodeUrlCharset' is deprecated (declared
> at ../include/ns.h:1289)
> nscgi.c: In function `CgiCopy':
> nscgi.c:1109: warning: `Ns_ConnLocation' is deprecated (declared
> at ../include/ns.h:638)
> (All platforms)
> 
> ---------
> dsprintf.c: In function `Ns_DStringVPrintf':
> dsprintf.c:294: warning: use of `long double' type; its size may
> change in a future release
> dsprintf.c:294: warning: (Long double usage is reported only once for
> each file.
> dsprintf.c:294: warning: To disable this warning, use -Wno-long-double.)
> (Darwin 6.8/7.9/8.0)
> 
> ---------
> tclmisc.c:666: warning: redefinition of `u_int32_t'
> /usr/include/sys/types.h:198: warning: `u_int32_t' previously
> declared here
> tclmisc.c:667: warning: redefinition of `u_int8_t'
> /usr/include/sys/types.h:196: warning: `u_int8_t' previously declared
> here
> (Linux)
> 
> Cheers
> Zoran


Now compiles clean for me with gcc 4 using flags: -02 -Wall
-Wno-implicit-int. (Linux FC3).  Yippee!

Reply via email to