[fpc-pascal] Disable Warning: (6060) Case statement does not handle all possible cases

fredvs fiens at hotmail.com
Fri Mar 27 22:47:46 CET 2020

> If you have a uses clause, try adding it after the uses clause. 

Yep, indeed that did the trick.
But note also that it must be after the "uses" clause after "implementation"
(otherwise after first "uses" it does not work).

Also, to make earlier fpc versions happy, this must be added:

{$if fpc_fullversion >= 030300}
  {$warn 6060 off}

OK, thanks Jonas.


Many thanks ;-)
Sent from: http://free-pascal-general.1045716.n5.nabble.com/

More information about the fpc-pascal mailing list