From: Zoran V. <zv...@ar...> - 2005-06-11 11:16:55
|
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 |
From: Stephen D. <sd...@gm...> - 2005-06-13 06:19:24
|
On 6/11/05, Zoran Vasiljevic <zv...@ar...> wrote: > Hi >=20 > I have tested the compilation on following platforms/os'es >=20 > 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) >=20 > Next week we will finish the Windows port and there will be > some things changed as well.... >=20 > I have fixed some trivial cases in the CVS. > Those things are still being complained about: >=20 > -------- > signal.c: In function `ns_sigmask': > signal.c:61: warning: implicit declaration of function `pthread_sigmask' > (Solaris 2.6/2.8) >=20 > -------- > 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) >=20 > -------- > return.c: In function `Ns_ConnConstructHeaders': > return.c:262: warning: suggest parentheses around && within || > (All platforms) >=20 > -------- > tclsock.c:841: warning: `SockSetBlocking' defined but not used > (All platforms) >=20 > -------- > 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) >=20 > --------- > 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) >=20 > --------- > 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) >=20 > Cheers > Zoran Now compiles clean for me with gcc 4 using flags: -02 -Wall -Wno-implicit-int. (Linux FC3). Yippee! |
From: Zoran V. <zv...@ar...> - 2005-06-13 08:27:48
|
Am 13.06.2005 um 08:19 schrieb Stephen Deasey: > Now compiles clean for me with gcc 4 using flags: -02 -Wall > -Wno-implicit-int. (Linux FC3). Yippee! > Yes. On Solaris still complains about pthread_sigmask and on Darwin about the 'long double' but this is something we can ignore for now. When I come to that place again, I will look into that more deeply. For now I'm about to get the Windows part working... Zoran |
From: Bernd E. <eid...@we...> - 2005-06-13 06:52:29
|
Hi Stephen, > Now compiles clean for me with gcc 4 using flags: -02 -Wall > -Wno-implicit-int. (Linux FC3). Yippee! I compiled well last tuesday without mentionable warnings but then, when following the 'compile ?' thread, I asked myself if I did compile it wrong... :-) But nevertheless, tried it again this morning against TCL head (8.5) and everything went fine. The only error (concerning make test) is due to a TCL-related namespace import (without --force) failure, not naviservers fault. Bernd. |
From: Stephen D. <sd...@gm...> - 2005-06-13 07:11:43
|
On 6/13/05, Bernd Eidenschink <eid...@we...> wrote: >=20 > Hi Stephen, >=20 > > Now compiles clean for me with gcc 4 using flags: -02 -Wall > > -Wno-implicit-int. (Linux FC3). Yippee! >=20 > I compiled well last tuesday without mentionable warnings but then, when > following the 'compile ?' thread, I asked myself if I did compile it > wrong... :-) Some changes were made that cause a lot more warnings to show up.=20 Depending on when you tested during the recent burst of activity, you may or may not have picked this up. > But nevertheless, tried it again this morning against TCL head (8.5) and > everything went fine. The only error (concerning make test) is due to a > TCL-related namespace import (without --force) failure, not naviservers > fault. Groovy! |