[Aldor-l] Incorrect function declaration

Pippijn van Steenhoven pip88nl at gmail.com
Tue Feb 26 08:58:19 EST 2008


Hello Aldor List,

I just wanted to attend you to the following incorrect declaration:

  extern void     hfoldUnit       (Foam);

in of_hfold.h. It should be:

  extern Foam     hfoldUnit       (Foam);

This is dangerous, because callers may not expect a stack push which might
have been done by this function.

-- 
Pippijn van Steenhoven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://aldor.org/pipermail/aldor-l_aldor.org/attachments/20080226/d3c363d3/attachment.bin 


More information about the Aldor-l mailing list