View Issue Details

IDProjectCategoryView StatusLast Update
0038554LazarusIDEpublic2021-02-28 22:33
ReporterMartin Friebe Assigned ToMattias Gaertner  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformany (Win/Linux)OSany 
Product Version2.1 (SVN) 
Summary0038554: Codetool does not handle "var x deprecated"
DescriptionCodetool will fail, if the following code is present.

Look up any identifier, while this code (even in another unit, that is used) is present.

type
  TFPDMode = (dm32, dm64);

var
  Foo: TFPDMode = dm32 deprecated;
TagsNo tags attached.
Fixed in Revision64688.64692.
LazTarget-
Widgetset
Attached Files

Relationships

related to 0036099 resolvedPascal Riekenberg "Error: expected ;, but experimental found" for initialized variables 

Activities

Juha Manninen

2021-02-28 12:49

developer   ~0129230

Last edited: 2021-02-28 16:06

View 2 revisions

Mattias, r64688 causes another error. Codetools now complains about :
  NoErrMsg: Boolean platform = False; // For Delphi compatibility, not used in FPC.
in fpc/src/rtl/inc/systemh.inc.
Tested with FPC 3.2 on Linux 64-bit.

systemh.inc(726,30) Error: expected ;, but = found

Mattias Gaertner

2021-02-28 19:05

manager   ~0129245

I wonder why Delphi and FPC differ here.

Issue History

Date Modified Username Field Change
2021-02-27 20:01 Martin Friebe New Issue
2021-02-28 09:24 Mattias Gaertner Assigned To => Mattias Gaertner
2021-02-28 09:24 Mattias Gaertner Status new => assigned
2021-02-28 09:59 Mattias Gaertner Status assigned => resolved
2021-02-28 09:59 Mattias Gaertner Resolution open => fixed
2021-02-28 09:59 Mattias Gaertner Fixed in Revision => 64688.
2021-02-28 09:59 Mattias Gaertner LazTarget => -
2021-02-28 12:49 Juha Manninen Status resolved => assigned
2021-02-28 12:49 Juha Manninen Resolution fixed => open
2021-02-28 12:49 Juha Manninen Note Added: 0129230
2021-02-28 16:06 Juha Manninen Note Edited: 0129230 View Revisions
2021-02-28 19:05 Mattias Gaertner Note Added: 0129245
2021-02-28 21:53 Juha Manninen Relationship added related to 0036099
2021-02-28 22:33 Mattias Gaertner Status assigned => resolved
2021-02-28 22:33 Mattias Gaertner Resolution open => fixed
2021-02-28 22:33 Mattias Gaertner Fixed in Revision 64688. => 64688.64692.