So maybe the problem is that our malloc/realloc doesn't 
handle zero size, while std version do.

In this case, we should probably allow zero size too.

Brgds,
Viktor

On 2010 Jan 6, at 18:46, Bisz István wrote:

> Hi,
> 
> Finally, I was able to put in work the hbcppmm on Fedora12 by inserting the
> "                        '   if ( nSize == 0 ) nSize = 1;'                    
>                      + Chr( 10 ) +;"
> line in hbmk2.prg for both new operators generator sequences. As I understood 
> correctly this is the "hack" of GCC to handle zero sized object allocation. 
> If not, correct me.
> 
> Please fin attached the trace files generated on Fedora12 for fully 
> functional demoqt, demoxbp and hbide.
> 
> Best regards,
> István
> 
> <fedora12.zip>_______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to