[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 22 Mar 2002 16:38:33 +0000 (GMT)
> > Seems to me that -_doPath::draw: was calling XIntersectRegion() without
> > creating the region, thus causing the crash. I've attached a patch that
> > fixes it. With the patch it works here.
> Wow! That was fast! Excellent, thanks. I hope someone will put this into CVS.
> One thing puzzles me though - how come -Wall didnt throw this up as a warning
> in the compile as surely it should generate a "may be used before
> cwbeing initialised" type thing ?
Well - it does, if you compile with -Wall and *without* debugging enabled
(ie, with debug=no) ... I get
XGGState.m: In function `-[XGGState _doPath::draw:]':
XGGState.m:911: warning: `new_region' might be used uninitialized in this
Anyway, I turned on -Wall in all cases in libxgps.
- PSclip, Pete French, 2002/03/22