View Issue Details

IDProjectCategoryView StatusLast Update
0001142Ecere SDKecpublic2018-04-27 18:00
Reporterslothtrop Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx86:windowsOSWindowsOS Version7
Product Version0.44.15 
Summary0001142: issue with Remove function not compiling unless the property executing it is instantiated seperately
Descriptionissue with Remove function not compiling unless the property executing it is instantiated seperately

works:
Array<PolygonRing> rings = selectedGeoPoly.area.rings;
rings.Remove((IteratorPointer)(rings.array+polyID));

breaks:
selectedGeoPoly.area.rings.Remove((IteratorPointer(selectedGeoPoly.area.rings.array+polyID));

yielding errors:
src\editController.ec:511:53: warning: passing argument 1 of '__internal_VirtualMethod' from incompatible pointer type [-Wincompatible-pointer-types]
src\editController.ec:511:53: note: expected 'struct __ecereNameSpace__ecere__com__Instance *' but argument is of type 'struct __ecereNameSpace__ecere__com__IteratorPointer *'
src\editController.ec:511:28: error: too few arguments to function '__internal_VirtualMethod'
src\editController.ec:502:22: warning: unused variable 'ring' [-Wunused-variable]
src\editController.ec:511:16: warning: unused variable '__simpleStruct3' [-Wunused-variable]
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-04-27 18:00 slothtrop New Issue