View Issue Details

IDProjectCategoryView StatusLast Update
0000261Ecere SDKcompiler:templatespublic2013-05-19 22:15
Reporterjerome Assigned Tojerome  
PriorityimmediateSeverityminorReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Target Version0.44.07 
Summary0000261: template args bug producing weird warnings?
DescriptionCompiling...
Project.ec
   src\project\Project.ec:1:89: warning: parsing type ecere::com::LinkList<ProjectNode, ?p(bool)0x0, link, T = ProjectNode, D = ProjectNode>
   src\project\Project.ec:415:66: warning: incompatible expression ecere::com::LinkList<ProjectNode>{} (ecere::com::LinkList<ProjectNode>); expected ecere::com::LinkList<, link, T = ProjectNode, D = ProjectNode>
TagsNo tags attached.

Relationships

related to 0000824 new In MemoryGuard config, cannot compile List.ec without import "instance" 
related to 0000768 confirmed compiler get confused about types in templates and report bad warnings 

Activities

2009-10-14 13:58

 

src.7z (146,271 bytes)

jerome

2009-10-14 13:59

administrator   ~0000122

Last edited: 2009-10-14 14:03

Only when LegacyProjectConfigSave is above.
This piece of code seems to cause the problem when uncommented:

   if(options.preprocessorDefinitions.count)
   {
      bool isFirst = true;
      for(item : options.preprocessorDefinitions)
      {
         if(isFirst)
         {
            f.Printf("\n%sPreprocessor Definitions = %s", indentation, item);
            isFirst = false;
         }
         else
            f.Printf(", %s", item);
      }
      f.Printf("\n");
   }

jerome

2013-04-24 05:21

administrator   ~0000701

I have not been able to reproduce this issue recently.
AFAWK it has been fixed, it was last submitted in 2009.

It probably was related to memory corruption.

What was probably an unrelated issue with templates has been moved to 0000824.

Issue History

Date Modified Username Field Change
2009-10-14 13:58 jerome New Issue
2009-10-14 13:58 jerome File Added: src.7z
2009-10-14 13:59 jerome Note Added: 0000122
2009-10-14 14:03 jerome Note Edited: 0000122
2010-07-29 15:39 jerome Relationship added child of 0000429
2010-07-29 15:40 jerome Priority high => immediate
2012-03-08 15:43 redj Target Version old 0.44.pre2 => 0.45 Ginkakuji
2012-03-08 17:44 redj Relationship deleted child of 0000429
2012-03-29 07:50 redj Category => eC Compiling Tools
2012-03-29 07:50 redj Project @2@ => Ecere SDK
2012-10-29 20:10 redj Category compiler => compiler:templates
2012-10-29 20:10 redj Summary Template args bug producing weird warnings? => template args bug producing weird warnings?
2012-10-29 21:34 jerome Relationship added related to 0000768
2013-04-24 05:21 jerome Status new => resolved
2013-04-24 05:21 jerome Fixed in Version => 0.44.1 64
2013-04-24 05:21 jerome Resolution open => unable to reproduce
2013-04-24 05:21 jerome Assigned To => jerome
2013-04-24 05:21 jerome Note Added: 0000701
2013-04-24 05:22 jerome Relationship added related to 0000824
2013-04-25 21:37 jerome Target Version 0.45 Ginkakuji => 0.44.07
2013-05-19 22:15 jerome Status resolved => closed