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 used



The 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

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to