[fpc-pascal] {$WARNINGS OFF} isn't local

Sven Barth pascaldragon at googlemail.com
Thu Jan 29 08:08:24 CET 2015


Am 28.01.2015 22:17 schrieb "Craig Peterson" <craig at scootersoftware.com>:
>
> Using FPC v2.6.3 the {$WARNINGS OFF}, {$HINTS OFF}, and {$NOTES OFF}
> directives affect all subsequently compiled units as well.  That seems
> wrong.  Delphi limits the effects of those to the current compilation
> unit, which is what I'd expect.  Is this intentional?

No. Please test whether this happens with 3.0.0 or 3.1.1 as well and if so
report a bug (though I remember having seen something about this...).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150129/255b51f0/attachment.html>


More information about the fpc-pascal mailing list