On 27/03/2020 22:20, fredvs via fpc-pascal wrote: >>> Will it disable all the warnings concerned for all the code of the unit? >> Yes. > Hum, here, adding {$warn 6060 off} after "unit", on Linux 64 bit, compiled > with fpc 3.3.1 trunk of 7 days ago, the warnings are still there.
If you have a uses clause, try adding it after the uses clause. Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal