Incorrect "Undefined symbol" for unit's private function with public inlined overloaded versions
Original Reporter info from Mantis: doj @VisualDoj
-
Reporter name: doj
Original Reporter info from Mantis: doj @VisualDoj
- Reporter name: doj
Description:
See attachment. FPC 3.2.0 fails compilation with the following error:
Error: Undefined symbol: DPARSER_$_PARSEHEXU32UNSAFE
PCHARPCHAR
LONGWORD$$LONGWORD
If I remove inline modifier, it compiles. The same source works fine with fpc 3.0.2.
Steps to reproduce:
Command I use for building the example:
fpc -Sd -Oodfa -Sew -Xm -vm5037 -g -gl -al -an -ar -at -vq -Sa main.pas -omain.exe
Mantis conversion info:
- Mantis ID: 37496
- OS: Windows
- OS Build: 10
- Build: official windows installer
- Platform: i386
- Version: 3.2.0