On Mon, 23 May 2005 02:29:48 +0200
Konstantin Münning <[EMAIL PROTECTED]> wrote:

> But when there is no memory left and you need
> some you can't behave perfect. Please let it be the programmers choice
> what to do and how to handle this. 

It is. Exceptions, ReturnNil, ...

> A compiler should be providing the
> means, not taking them away. 

Environment changes sometimes you know! Thus, so does the RTL. There are new 
means now.

> Anybody writing a program knows that there
> may be flaws. A warning (with an advice how to make it better) should
> still be the best for this.

Warning: compilation failure; make it better: here on mailing list.

> I would hapily contribute the code for a better MemAvail/MaxAvail
> function if that's the problem. I would like to be able to use the
> latest compiler which now I definitely can't as I must have the BP7
> compatibility which is very good in 1.0.10.

Well, define these functions in your own compatibility unit then ?

Micha

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to