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

Jonas Maebe jonas at freepascal.org
Fri Mar 27 21:52:10 CET 2020


On 27/03/2020 21:30, fredvs via fpc-pascal wrote:
>> It works for me:
> 
>> $ cat tt.pp
>> {$warn 6060 off}
> 
> Ha, on Linux too?
> 
> By the way, what is "$ cat tt.pp", is it needed to disable the warning?

"cat" is a program that shows the contents of a file. It was to show you
the source code that I was compiling.

> And where did you place the code, just after "units" like explained in doc.

It was placed where you can see it in the program (it's a program, not a
unit).

> Will it disable all the warnings concerned for all the code of the unit?

Yes.


Jonas


More information about the fpc-pascal mailing list