Hi,
I have included the following lines in a "fpg_defines.inc" include file in my project, yet when I compile/build my project, it still shows that compiler hint (as can be seen in the attached screenshot).
// common compiler options
{$mode objfpc}{$H+}
{$interfaces corba}
{$warn 5024 off} // Hint: Parameter "$1" not usedThe include file is below the "unit xxx" line, and appears in every unit of my project.
Am I doing something wrong in my project settings? I normally have the -viewnh compiler parameters specified so I can see other hints and warnings. The screenshot output used -vwhilq just so I could confirm I am trying to suppress the correct warning number.... 5024.
FPC 3.0.4 gives the same output. So no better.
Regards,
Graeme
