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

fredvs fiens at hotmail.com
Sat Mar 14 18:08:58 CET 2020


> as there are a lot of messages in this thread 

Yes, it is an epidemic, and it has already muted there:

http://free-pascal-general.1045716.n5.nabble.com/Re-New-Warnings-with-fpc-gt-3-2-0-fredvs-td5735027.html

You will see with last message that all is not so simple:

Initialization of a enum-var is set it to 0.

Then with tabulatorkindty =
(tak_none=-1,tak_left,tak_right,tak_centered,tak_decimal);

kind will be initialized with 0 and not with -1;

Hum, the enum-saga is not yet closed.

Fre;D 



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


More information about the fpc-pascal mailing list