[fpc-devel]Hints and Warning enabled and disabled
    Darek Mazur 
    darekm at emadar.com
       
    Wed Sep 22 18:57:30 CEST 2004
    
    
  
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
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  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
> 
> 
    
    
More information about the fpc-devel
mailing list