On Wed, 22 Sep 2004, Darek Mazur wrote:
Hi Is it possible to enable and disable warning and hints receiving from compiler, but not in command line only in directives in program like {$HINT ON}{$HINT OFF}
It is {$HINTS ON}
Its not work for me example:
program testapp
uses
classes,
{$HINTS OFF}
buttons
{$HINTS ON}
;
begin writeln('test'); end.
Compiler hint testapp.pp(11,7) Hint: Unit "BUTTONS" not used in TESTAPP
I need this because I have include file with most uses modules, and I want exclude some of this hints.
Darek
and {$WARNINGS ON}
Michael.
_______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
_______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
