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

2015-01-28 Thread Sven Barth
Am 28.01.2015 22:17 schrieb "Craig Peterson" : > > 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.

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

2015-01-28 Thread Craig Peterson
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? Sample code: Test.dpr --