inline and unit self-reference (throw 3rd unit)
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
When inlined function referenced from other unit and this unit uses original unit by itself throw another unit (well better look at atteched code) - exception raised on error 216 in compiler.
This only happens if: (1) inline enabled; (2) compilation mode is "make" not "build".
--
To repeat this error compile twice attached unit DX3.
Additional information:
Reporter: Alexey Barkovoy
EMail: clootie at ixbt dot com
Mantis conversion info:
- Mantis ID: 5467
- OS: All
- Version: 1.9.5
- Fixed in version: 1.9.7