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

fredvs fiens at hotmail.com
Fri Mar 13 18:11:51 CET 2020


> type Set_Of_tabulatorkindty= set of  tabulatorkindty; 

Yes, it was proposed too.
It has the advantage to fix the tabulatorkindty(-1) bug without adding a new
item-enum.

But the disadvantage is: lot of change in code, maybe more than simply
adding "tak_nil" at end of the enum-array.
And initialize it with "kind := tak_nil".

It is not yet decided in mse-org forum what we will use (+- 50 similar
cases).
I vote for keeping type enum + adding at end "tak_nil" in array + 
initialize "kind := tak_nil".

Gracias Santiago.

Fre;D






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


More information about the fpc-pascal mailing list