digitalmars.D.bugs - Warnings in Phobos, DMD 0.141
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (56/56) Dec 09 2005 For compiling DMD 0.141's Phobos lib on Linux,
For compiling DMD 0.141's Phobos lib on Linux,
Here are all the phobos unit tests that failed:
Error: AssertError Failure math(1662)
Error: Could not unbox from type double to int.
Error: Could not unbox from type A to B.
Error: Could not unbox from type int* to char*.
These are the C files that have -Wall warnings:
make: *** [critical.o] Error 1
make: *** [monitor.o] Error 1
And these are the D files that have -w warnings:
(
make: *** [adi.o] Error 1
make: *** [base64.o] Error 1
make: *** [string.o] Error 1
make: *** [math.o] Error 1
make: *** [mmfile.o] Error 1
make: *** [regexp.o] Error 1
make: *** [random.o] Error 1
make: *** [linuxsocket.o] Error 1
make: *** [stream.o] Error 1
make: *** [qsort.o] Error 1
make: *** [thread.o] Error 1
make: *** [utf.o] Error 1
make: *** [uri.o] Error 1
make: *** [conv.o] Error 1
make: *** [socket.o] Error 1
make: *** [socketstream.o] Error 1
make: *** [format.o] Error 1
make: *** [trace.o] Error 1
make: *** [boxer.o] Error 1
make: *** [demangle.o] Error 1
make: *** [ti_Along.o] Error 1
make: *** [ti_Aulong.o] Error 1
make: *** [date.o] Error 1
make: *** [dateparse.o] Error 1
make: *** [math2.o] Error 1
make: *** [Dzlib.o] Error 1
make: *** [zip.o] Error 1
make: *** [recls.o] Error 1
make[1]: *** [gc.o] Error 1
make[1]: *** [gcx.o] Error 1
The detailed warnings can be found at:
http://www.algonet.se/~afb/d/dmd-0.141-warnings.txt
Patch for missing C pthread function declaration:
http://www.algonet.se/~afb/d/dmd-0.118-cwarn.patch
Here is the patch for some of the old warnings:
http://www.algonet.se/~afb/d/dmd-0.118-dwarn.patch
Patching the new D warnings is left as an exercise ;-)
(I did patch some additional old stlsoft crud too)
--anders
PS. Used rpmbuild --with warnings, and:
http://www.algonet.se/~afb/d/dmd.spec
Dec 09 2005








=?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se>