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?
[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?
David Heffernan I just broke hints completely in generic class. Will post bug report soon, if not already reported.
ReplyDeletetype
TFoo = class(TObject)
public
procedure Foo1;
end;
implementation
procedure TFoo.Foo1;
var abc: integer;
begin
end;
Remove T from class declaration and hints work...
Already reported:
ReplyDeleteWarning suppressed in generic classes
quality.embarcadero.com - Log in - Embarcadero Technologies
Compiler warnings/hints on generic methods
https://quality.embarcadero.com/browse/RSP-16553
John Kouraklis Interesting. Can you post a snippet that reproduces it?
ReplyDelete