[fpc-pascal] {$warn 5024 off} does not work with FPC 3.2.0

Michael Van Canneyt michael at freepascal.org
Wed Apr 24 10:07:50 CEST 2019



On Wed, 24 Apr 2019, Graeme Geldenhuys wrote:

> On 22/04/2019 00:14, Graeme Geldenhuys wrote:
>> yet when I compile/build my project, it still shows that
>> compiler hint (as can be seen in the attached screenshot).
>
>
> Is nobody else experiencing this?


{$warn 5024 off}

procedure TForm1.Edit1Change(Sender: TObject);
begin
   // Do nothing
end;

I get no warning. If I remove the statement, I get the warning.

Michael.



More information about the fpc-pascal mailing list