| Anonymous | Login | Signup for a new account | 2013-05-18 17:04 CEST | ![]() |
| All Projects | FPC | Lazarus: Packages, Patches | Lazarus CCR | Mantis | fpGUI | fpcprojects: fpprofiler |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0008951 | FPC | Compiler | public | 2007-05-26 01:48 | 2012-01-04 15:53 | ||||||||
| Reporter | Mario R. Carro | ||||||||||||
| Assigned To | Ivo Steinmann | ||||||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||||||
| Status | assigned | Resolution | open | ||||||||||
| Platform | OS | OS Version | |||||||||||
| Product Version | Product Build | ||||||||||||
| Target Version | 2.4.0 | Fixed in Version | |||||||||||
| Summary | 0008951: FPC doesn't allow implements properties be of class types | ||||||||||||
| Description | Delphi allows implements properties to be of class types derived from TAggregatedObject, but FPC requires them to be of interface types. For example this line (from the JclSchedule.pas unit of the JCL): property DailyFreq: TDailyFreq read FDailyFreq implements IJclScheduleDayFrequency; fails to compile with the message: JclSchedule.pas(1327,87) Error: Implements property must have interface type | ||||||||||||
| Tags | com, jcl | ||||||||||||
| FPCOldBugId | 0 | ||||||||||||
| Fixed in Revision | |||||||||||||
| Attached Files | |||||||||||||
Relationships |
||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
Notes |
|
|
(0012814) Jonas Maebe (manager) 2007-05-26 16:09 |
Please provide a compilable sample program. |
|
(0012961) Mario R. Carro (reporter) 2007-06-05 00:57 |
Hi. The program I uploaded compiles without errors with D7, but fails with FPC r7578: Free Pascal Compiler version 2.3.1 [2007/06/04] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Linux for i386 Compiling test.pas test.pas(17,63) Error: Implements property must have interface type test.pas(18,6) Error: No matching implementation for interface method "IIntf.F:DWord" found test.pas(27) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled) |
|
(0015797) Marco van de Voort (manager) 2007-10-28 14:00 |
Also ran into this. Lazarus is preparing to support JVCL that depends on JCL, so it would be nice if it was fixed. |
|
(0017592) Marco van de Voort (manager) 2008-02-03 21:41 |
Found something: http://www.geocities.com/svi37/cyber/delphi9/iimplementation.html [^] |
|
(0027067) Jonas Maebe (manager) 2009-04-25 12:15 |
I've attached that page since Geocities is being discontinued. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2007-05-26 01:48 | Mario R. Carro | New Issue | |
| 2007-05-26 16:09 | Jonas Maebe | Note Added: 0012814 | |
| 2007-06-05 00:54 | Mario R. Carro | File Added: test.pas | |
| 2007-06-05 00:57 | Mario R. Carro | Note Added: 0012961 | |
| 2007-06-13 10:08 | Marco van de Voort | Note Added: 0013172 | |
| 2007-06-13 10:34 | Marco van de Voort | Note Deleted: 0013172 | |
| 2007-10-28 14:00 | Marco van de Voort | FPCOldBugId | => 0 |
| 2007-10-28 14:00 | Marco van de Voort | FPCTarget | => - |
| 2007-10-28 14:00 | Marco van de Voort | Note Added: 0015797 | |
| 2007-10-28 14:00 | Marco van de Voort | Severity | minor => major |
| 2007-10-28 14:01 | Marco van de Voort | Relationship added | related to 0004842 |
| 2008-01-29 23:25 | Marco van de Voort | Status | new => assigned |
| 2008-01-29 23:25 | Marco van de Voort | Assigned To | => Florian |
| 2008-02-03 21:41 | Marco van de Voort | Note Added: 0017592 | |
| 2008-05-07 12:08 | Marco van de Voort | Tag Attached: jcl | |
| 2008-12-10 09:04 | Marco van de Voort | Relationship added | related to 0012778 |
| 2009-04-25 12:15 | Jonas Maebe | File Added: implements.html | |
| 2009-04-25 12:15 | Jonas Maebe | Note Added: 0027067 | |
| 2009-08-09 11:28 | Florian | Target Version | => 2.4.0 |
| 2009-10-16 23:39 | Marco van de Voort | Tag Attached: com | |
| 2010-03-27 16:18 | Ivo Steinmann | Assigned To | Florian => Ivo Steinmann |
| 2010-04-29 18:01 | Jonas Maebe | Relationship added | related to 0016365 |
| 2012-01-04 15:53 | Marco van de Voort | Relationship added | parent of 0016531 |
| Main | My View | View Issues | Change Log | Roadmap |



