[fpc-pascal] TInterfacedObject destructor reentrance bug

2017-07-15 Thread African Wild Dog
Hello, I have found a bug in the TInterfacedObject. Better than explaining is to examine and execute the code below. When executing the code below the destructor of the class TCustomDestructorClass is called infinitely. This is due to calling the procedure Foo inside the destructor of

Re: [fpc-pascal] Convert to int64 note

2017-07-15 Thread Santiago A.
El 14/07/2017 a las 17:19, ja...@productionautomation.net escribió: >> If you declare Last_GS as int64, you should not get the warning. > I declared both Last_GS and G_End as int64, leaving Max_Program_to_Display as > a word and still get the warning. If I also make Max_Program_to_Display >