From:                   Darek Mazur <[EMAIL PROTECTED]>
To:                     [EMAIL PROTECTED]
Subject:                Re: [fpc-devel]Hints and Warning enabled and disabled
Date sent:              Wed, 22 Sep 2004 18:57:30 +0200

> Użytkownik Michael Van Canneyt napisał:
> >
> > 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

It looks OK to me - the listed hint is only issued at the end of
testapp.pp parsing, and hints are turned on at that place?

Tomas


_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to