As you may have noticed as per Viktor's message test 017 doesn´t work.
This version had no warnigns nor error.
Error log attached.
In general Alaska's filosofy about public and privates is to eliminate
them if you want maximum performance.
'm->' is the correct way to avoid dynamic scoped warnings.
In terms of compatibility with clipper Harbour is far superior to
Alaska's compiler.
The other thing Harbour does much faster is dbf indexing, your RDDs are
really awesome !!!
I'd only wish there were an in-memory RDD full with indexing and so.
The other app killer RDD would be an official Net RDD ( like letto but
officialy supported by Harbour Team ).
I'm also very interested in a multiplatform QT based gui framework.
I'm not wanting to sound like a professional requester as Massimo is,
just wanted to illustrate my humble Xbase++ developper POV.
Keep up the good work and thank you !!!
Regards
Angel
Przemyslaw Czerpak escribió:
On Mon, 16 Mar 2009, Angel Pais wrote:
Hi,
getting close !!
Fine and thanks.
xpp /n /m /w /p /wi /wl @C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\03166601.tmp
SPEEDTST3.PRG(197:0): warning XBT0121: STATIC variable s_once may not have been
set before first use
[...]
Looks that they reports some warnings for which we had some doubts.
I added explicit initialization to NIL ( := NIL ) to pacify this warnings.
SPEEDTST3.PRG(209:0): warning XBT0114: Usage of dynamic scoped variable M_C
SPEEDTST3.PRG(213:0): warning XBT0114: Usage of dynamic scoped variable M_N
SPEEDTST3.PRG(223:0): warning XBT0114: Usage of dynamic scoped variable P_C
SPEEDTST3.PRG(223:0): warning XBT0114: Usage of dynamic scoped variable P_C
these warnings are new for me. The variables are declared by MEMVAR.
What else should I use to pacify such warnings? Or maybe it's some
compiler switch which enables warnings for all memvars usage in any context.
I added M-> prefix (f.e. M->P_C) to disable them but if it does not work
or create some other problems in XPP then please remove it.
SPEEDTST3.PRG(573:0): error XBT0250: Incomplete expression
SPEEDTST3.PRG(577:0): error XBT0250: Incomplete expression
[...]
Yet another incompatibility to Clipper.
I've removed HB_SYMBOL_UNUSED() macro usage so this should be resolved.
Next version in attachment.
Please test.
best regards,
Przemek
------------------------------------------------------------------------------
ERROR LOG of "C:\experimentos\speedhb\speedtst4.exe" Date: 03/16/2009 16:33:54
Xbase++ version : Xbase++ (R) Version 1.90.331
Operating system : Windows XP 05.01 Build 02600 Service Pack 2
------------------------------------------------------------------------------
oError:args :
-> VALTYPE: O CLASS: Error
-> VALTYPE: N VALUE: 2
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: Y
oError:cargo : NIL
oError:description : Parameter has a wrong data type
oError:filename :
oError:genCode : 2
oError:operation : <O of >[<2>]
oError:osCode : 0
oError:severity : 2
oError:subCode : 3
oError:subSystem : BASE
oError:thread : 1
oError:tries : 0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from T017(248)
Called from TEST(542)
Called from MAIN(178)
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour