MantisBT - Ecere SDK
View Issue Details
0000269Ecere SDKecerepublic2009-10-20 21:212013-08-07 03:33
jerome 
jerome 
immediatemajorhave not tried
closedfixed 
 
0.44.080.44.08 
0000269: Using PrintLn to print out pointer values of NOHEAD classes is broken
class Test : struct { int a; };
class App : Application
{
   void Main()
   {
      Test a {};
      uint b = a;
      PrintLn((uint)a);
      PrintLn(b);
      getch();
   }
}
v0.44d2
related to 0000452closed jerome runtime: uint32 & OnGetString ends up calling Signed Integer, serialNumber.OnGetString(rootPath, null, null); 
related to 0000157closed jerome PrintLn with a big int64 does not display higher bit 
Issue History
2009-10-20 21:21jeromeNew Issue
2009-10-20 21:23jeromeNote Added: 0000126
2009-10-20 21:27jeromeSummaryUsing PrintLn to print out pointer values of classes is broken => Using PrintLn to print out pointer values of NOHEAD classes is broken
2009-10-20 21:27jeromeNote Added: 0000127
2010-07-07 03:00redjTarget Version => 0.44d2
2010-07-07 04:10redjTag Attached: v0.44d2
2010-07-25 20:57redjRelationship addedchild of 0000429
2010-07-26 03:19jeromeRelationship addedrelated to 0000157
2010-07-26 19:19thexa4Target Version0.44d2 => 0.44 draft 2
2012-03-08 15:44redjTarget Versionold 0.44.pre2 => 0.45 Ginkakuji
2012-03-08 17:20redjRelationship deletedchild of 0000429
2012-03-29 07:53redjCategory => Ecere Runtime Library
2012-03-29 07:53redjProject@1@ => Ecere SDK
2013-04-24 03:38jeromeTarget Version0.45 Ginkakuji => 0.44.1 64
2013-04-27 22:54jeromeStatusnew => assigned
2013-04-27 22:54jeromeAssigned To => jerome
2013-04-28 05:49jeromeRelationship addedrelated to 0000452
2013-04-28 23:17jeromeStatusassigned => resolved
2013-04-28 23:17jeromeFixed in Version => 0.44.1 64
2013-04-28 23:17jeromeResolutionopen => fixed
2013-04-28 23:17jeromeNote Added: 0000771
2013-05-22 20:29jeromeStatusresolved => closed
2013-08-07 03:33jeromeFixed in Version0.44.10 64 => 0.44.08
2013-08-07 03:33jeromeTarget Version0.44.10 64 => 0.44.08

Notes
(0000126)
jerome   
2009-10-20 21:23   
Temporary fix:

PrintLn((uint)*(void **)&a);
(0000127)
jerome   
2009-10-20 21:27   
The problem does not occur for regular classes.
(0000771)
jerome   
2013-04-28 23:17   
Fixed by https://github.com/ecere/sdk/commit/a65f4b781bab78df461144dfe1c8bedb70ecb5d1 [^]