On 24/04/2019 09:07, Michael Van Canneyt wrote: > I get no warning. If I remove the statement, I get the warning.
Thanks Michael. So it seems it is something local to my system then. I get warnings no matter what. Do you have any compiler settings like -viewh in your ~/.fpc.cfg file? I'm trying to think what could affect the {$warn xxx off} to not work. Regards, Graeme _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal