With last fpc 3.3.1 trunk, there are warnings in case like this:

procedure test;
var
  b: 1..10;
begin
  case b of               // here warning
    1: writeln('hello');
  end
end; 

" Warning: (6060) Case statement does not handle all possible cases."

In MSEgui there is lot of code that is similar and generate that warning.

I propose to simply disable that warning with {$warn 6060 off} and not touch
at rest of code.

What do you think?

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to