synopse / mORMot2

OpenSource RESTful ORM/SOA/MVC Framework for Delphi and FreePascal
https://synopse.info
Other
485 stars 122 forks source link

error while compiling mormot.core.test from lazarus package if NOEXCEPTIONINTERCEPT is set #253

Closed Coldzer0 closed 1 month ago

Coldzer0 commented 1 month ago

Hello @synopse

I was testing some code, and I needed to use NOEXCEPTIONINTERCEPT, but when I did, the Lazarus package couldn't compile.

Because of this line https://github.com/synopse/mORMot2/blob/282cd74bf0c3d32509c8d529daa849a0a8fead2e/src/core/mormot.core.test.pas#L1355

mormot.core.test.pas(1355,38) Error: Identifier not found "GetLastExceptionText"
synopse commented 1 month ago

It compiles now. But not tested if 100% working. ;)

Coldzer0 commented 1 month ago

I tested it, and everything works fine now.