[torquedev] small gcc compile error (gcc v 4.0.3)
cat5 at minet.uni-jena.de
Tue Oct 30 08:18:39 MDT 2007
Garrick Staples <garrick at usc.edu> wrote:
> On Mon, Oct 29, 2007 at 05:03:26PM +1300, Chris LeBlanc alleged:
> > It appears that on line 1502, its trying to pass an integer instead of
> > a char string to the function pstderr1(). I've created a patch, using
> > sprintf to make a copy of the integer in a string format. The 'svn
> > diff' is below, hopefully its useful.
> I don't understand what's wrong with the original code.
The function signature requires a char* arg, not an integer. However, as
arg is only passed to fprintf again, no harm is done, AFAIK.
Regards, Matti Bickel
Signed/Encrypted email preferred (key 4849EC6C)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20071030/1890c3b6/attachment.bin
More information about the torquedev