Mildly frustrating, just in a handful of units in my code base, but error reporting gets confused about line numbers:

Mildly frustrating, just in a handful of units in my code base, but error reporting gets confused about line numbers:

[dcc32 Hint] OrcGraphics.pas(108035): H2164 Variable 'saVertCentred' is declared but never used in 'TViewPort.DrawLabel'

This is in a unit with 6000 lines ......

I'm using XE7. Has anyone else seen this?

Comments

  1. David Heffernan I just broke hints completely in generic class. Will post bug report soon, if not already reported.

    type
    TFoo = class(TObject)
    public
    procedure Foo1;
    end;

    implementation

    procedure TFoo.Foo1;
    var abc: integer;
    begin
    end;

    Remove T from class declaration and hints work...

    ReplyDelete
  2. John Kouraklis Interesting. Can you post a snippet that reproduces it?

    ReplyDelete

Post a Comment