On 02 Feb 2014, at 11:59, Sven Barth wrote:

> So... does that mean that one shouldn't use "exit" inside a constructor for 
> the 2.6.x series?

Not in combination with regvars. Note that this combination is not guaranteed 
to go wrong (in fact, it's quite unlikely), it just can go wrong.

> If so then we should put up a warning somewhere...

Then we should also warn not to use peephole optimizations on i386 in 2.6.x 
(http://bugs.freepascal.org/view.php?id=23431 ), and probably about many more 
things. I don't mind version-specific "FPC known issues" pages on the wiki, but 
I don't feel like creating and maintaining them myself.


Jonas
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to