View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016121 | FPC | RTL | public | 2010-03-26 18:22 | 2011-05-01 22:40 |
Reporter | bolek | Assigned To | Marco van de Voort | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.4.1 | ||||
Target Version | 2.4.2 | Fixed in Version | 2.4.2 | ||
Summary | 0016121: fgl, Generics error | ||||
Description | when i try to compile this program project1; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, fgl { you can add units after this }; {$R *.res} type TIntegerList = specialize TFPGList<Integer>; begin end. i get this error project1.lpr(14,45) Fatal: Syntax error, ";" expected but ">" found | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
FPCOldBugId | 0 | ||||
FPCTarget | |||||
Attached Files |
|
|
It compiles with trunk, it compiles with 2.4.0, but indeed fails with fixes. I don't know what was merged that caused this to break. It's probably something in the fgl unit itself, since no compiler changes have been merged recently. Note that the svn revision you entered is a lazarus svn revision number, not an FPC svn revision number. I tested with 2.4.1 r15065 |
|
Merging of 14245 in 15050 breaks it. To make it work, at least 14176 needs to be merged. |
|
That fixes that, but not compilation: Error: Identifier not found "FList" Error: Identifier not found "FPosition" Error: Identifier not found "FList" Error: Identifier not found "FPosition" Error: Identifier not found "FPosition" Error: Identifier not found "FPosition" Error: Identifier not found "FList" It's beyond me, so I'll see if I can undo that merge in the weekend |
|
Question is if the iterator/enumerator stuff shall be merged to 2.4.0 or not? |
|
I leave decisions that hit the core compiler to the resp. compilerguys. My merging that was an oversight. (the usual testcompile afterwards succeeded, it was a library routine, and I didn't look further) But time is running out to do merging, when I'm back from holiday, I want to start with the 2.4.2 branch. |
|
Merging 14243 as well seems to solve the errors mentioned in Marcos comment. Regards, Sven |
|
Merged into 2.4.2 |
|
merged into 2.4.2 via fixes. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-03-26 18:22 | bolek | New Issue | |
2010-03-26 21:04 | Jonas Maebe | Note Added: 0036130 | |
2010-04-22 19:00 | Florian | Note Added: 0036916 | |
2010-04-22 19:00 | Florian | Status | new => assigned |
2010-04-22 19:00 | Florian | Assigned To | => Marco van de Voort |
2010-04-22 22:12 | Marco van de Voort | Note Added: 0036927 | |
2010-04-22 22:12 | Marco van de Voort | Note Edited: 0036927 | |
2010-04-24 11:20 | Florian | Note Added: 0036964 | |
2010-04-24 13:00 | Marco van de Voort | Note Added: 0036971 | |
2010-04-24 13:01 | Marco van de Voort | Note Edited: 0036971 | |
2010-04-24 13:02 | Marco van de Voort | Note Edited: 0036971 | |
2010-09-29 11:55 | Sven Barth | Note Added: 0041362 | |
2010-10-28 23:21 | Marco van de Voort | Note Added: 0042277 | |
2010-10-28 23:22 | Marco van de Voort | Status | assigned => resolved |
2010-10-28 23:22 | Marco van de Voort | Fixed in Version | => 2.4.2 |
2010-10-28 23:22 | Marco van de Voort | Resolution | open => fixed |
2010-10-28 23:22 | Marco van de Voort | Note Added: 0042278 | |
2010-10-28 23:22 | Marco van de Voort | Target Version | => 2.4.2 |
2011-05-01 22:40 | Marco van de Voort | FPCOldBugId | => 0 |
2011-05-01 22:40 | Marco van de Voort | Status | resolved => closed |