[fpc-pascal]About order of units...

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Aug 31 20:45:43 CEST 2003

On zondag, aug 31, 2003, at 20:40 Europe/Brussels, L D Blake wrote:

> Ok, I can accept that... but now I'm left to wonder what is causing 
> all those
> bizarre range checking errors

At least some of the range check errors are due to errors in the 
Windows unit (mingling cardinals=dwords and longints). However, these 
are not errors that will change the course of your program in any way, 
as the data passed around doesn't change because of these typings. It's 
of course possible you have other range errors in your program as well, 
but that you can't discover them because it bombs out earlier because 
of the windows unit mess.

Have you already tried using -ghl to check for memory errors?


More information about the fpc-pascal mailing list