Re: [fpc-pascal] New Warnings with fpc >= 3.2.0

2020-03-12 Thread fredvs via fpc-pascal
> ( and that can be considered, imho, as a bug). I was talking about mse code, not new behavior of warning of fpc 3.2.0. Fre;D - Many thanks ;-) -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ ___ fpc-pascal maillist - fpc-pasc

Re: [fpc-pascal] New Warnings with fpc >= 3.2.0

2020-03-12 Thread fredvs via fpc-pascal
> which will make it always true. I see no reason for that "if" to exists > at least not with out the code. Yes I know, it is strange. But, like explained Roland Chastain in a other topic: > With FPC 3.0.4, the following code compiles without warning and works: >type > tabulatorkindty = (ak_l

Re: [fpc-pascal] New Warnings with fpc >= 3.2.0

2020-03-12 Thread stdreamer via fpc-pascal
On 11/3/2020 12:15 μ.μ., fredvs via fpc-pascal wrote: Hello. Compiling that code with fpc 3.2.0 gives the warning that follows: ---> if (kind <> tabulatorkindty(-1)) --> gives now the warning: "msedrawtext.pas(1115,48) Warning: range check error while evaluating constants (-1 must be between