MantisBT - Ecere SDK
View Issue Details
0001007Ecere SDKcompilerpublic2013-09-27 09:122014-05-19 01:33
jerome 
jerome 
urgentminorhave not tried
closedfixed 
0.44.09 
0.44.10 640.44.10 64 
0001007: [ 1 ].OnCompare([ 1 ]) -- Bad generated code
[ 1 ].OnCompare([ 1 ]) -- This generated bad C code:

((int (*)(struct __ecereNameSpace__ecere__com__Class *, void *, void * object))((struct __ecereNameSpace__ecere__com__Instance *)&)->_vTbl[__ecereVMethodID_class_OnCompare])(((struct __ecereNameSpace__ecere__com__Instance *)&)->_class, ((struct __ecereNameSpace__ecere__com__Instance *)&__extension__ (struct __ecereNameSpace__ecere__com__BuiltInContainer)
No tags attached.
related to 0001058closed jerome Get PrintLn([1, 2, 3]) working 
Issue History
2013-09-27 09:12jeromeNew Issue
2013-12-30 20:13jeromeSummaryArray literals issues => [ 1 ].OnCompare([ 1 ]) -- Bad generated code
2013-12-30 20:13jeromeDescription Updated
2014-02-09 04:23jeromeStatusnew => assigned
2014-02-09 04:23jeromeFixed in Version => 0.44.10 64
2014-02-09 04:23jeromeTarget Version0.46 eC II => 0.44.10 64
2014-02-09 04:25jeromeStatusassigned => resolved
2014-02-09 04:25jeromeResolutionopen => fixed
2014-02-09 04:25jeromeAssigned To => jerome
2014-02-09 04:25jeromeNote Added: 0001176
2014-02-09 04:26jeromeRelationship addedrelated to 0001058
2014-02-09 04:27jeromeNote Edited: 0001176
2014-05-19 01:33jeromeStatusresolved => closed

Notes
(0001176)
jerome   
2014-02-09 04:25   
(edited on: 2014-02-09 04:27)
Most likely fixed by:
https://github.com/redj/ecere-sdk/commit/f13576016af755afe60bc61f5311a3cb0d7adbe5 [^]

However we're missing the runtime support for comparison of any containers (including the BuiltInContainer needed for this to compare properly).