Hi,

Maybe the following thread:
 
http://lists.trolltech.com/qt-interest/2000-09/thread00003-0.html

contains the answer for your chew over this issue.

Best regards,
István

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Viktor Szakáts
Sent: 2010. január 6. 19:01
To: Harbour Project Main Developer List.
Subject: Re: [Harbour] hbcppmm demoqt demoxbp hbide Qt4.6.0 MinGW GCC4.4.1 test

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

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

Reply via email to