[fpc-pascal] {$warn 5024 off} does not work with FPC 3.2.0
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Mon Apr 22 01:14:23 CEST 2019
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot_20190422T000130.png
Type: image/png
Size: 10500 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190422/2cabbcf4/attachment.png>
More information about the fpc-pascal
mailing list