www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Warnings, schwarnings (Phobos)

Decided to see what kinds of warnings where
issued when building Phobos, so I added a
"--with pedantic" mode to the RPM spec...

http://www.algonet.se/~afb/d/dmd.spec, as usual
(I also moved the location of the Phobos import
modules, from /usr/include/d to /usr/lib/phobos)


It adds the following extra settings:
CFLAGS="-Wall -Werror"
DFLAGS="-w"
MAKEFLAGS="-k -s"

Here is the output, for the Phobos from DMD 0.117:
http://www.algonet.se/~afb/d/dmd-warnings-0.117.txt
 gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
Currently you need to "rpmbuild --without debug", since Phobos won't compile (as mentioned earlier) If you actually want to build the RPMS, that is ? --anders
Mar 12 2005