[fpc-devel] SEH-based exceptions enabled on win32

J. Gareth Moreton gareth at moreton-family.com
Fri Jan 10 01:20:42 CET 2020


Has code generation changed as a result? I recall i386 making heavy use 
of push and pop within routines rather than pre-reserving the stack in 
the prologue - this is a big no-no for SEH if I recall.

Gareth aka. Kit

On 09/01/2020 22:22, Joost van der Sluis wrote:
> Hi all,
>
> SEH-based exceptions are made the default on the win32 target in 
> fpc-trunk. For win64 they already where the default.
>
> To build a compiler without SEH-based exceptions, the 
> dDISABLE_WIN32_SEH option should be given. ie:
>
> make all OPT='dDISABLE_WIN32_SEH'
>
> Please report any regressions on the bug-tracker.
>
> Regards,
>
> Joost
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>


More information about the fpc-devel mailing list