digitalmars.D - -debug phobos
- Vathix (4/4) Jan 31 2005 It would be nice if a debug version of phobos gets used when -debug is
- =?ISO-8859-15?Q?Anders_F_Bj=F6rklund?= (10/14) Jan 31 2005 I found that Phobos dumps a lot of crap when -debug is used,
It would be nice if a debug version of phobos gets used when -debug is specified. I just noticed a bug in the out contract of ifind(), which would have otherwise been undetected.. which makes me think, all those contracts aren't used.
Jan 31 2005
Vathix wrote:It would be nice if a debug version of phobos gets used when -debug is specified. I just noticed a bug in the out contract of ifind(), which would have otherwise been undetected.. which makes me think, all those contracts aren't used.I found that Phobos dumps a lot of crap when -debug is used, so I just took out the -release from DFLAGS for my debug lib. /usr/lib/libphobos-debug.a That still honors the contracts, even if they seem to throw AssertError instead of the correct InException/OutException ? You can find how I built it, in the RPM specfile: http://www.algonet.se/~afb/d/dmd.spec Which didn't work on FC3, for some reason ? --anders
Jan 31 2005