bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSclip


From: Nicola Pero
Subject: Re: PSclip
Date: 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 
function

Anyway, I turned on -Wall in all cases in libxgps.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]