[fpc-pascal] Strange "Undefined symbol" error in FPC 3.2.0

Виктор Матузенко vitek03 at gmail.com
Fri Jul 31 13:46:14 CEST 2020


Hi!

I have pretty large program which compiles and runs fine with FPC 3.0.2,
but if I try to compile it with FPC 3.2.0 (win32, i386, downloaded
installer here
https://sourceforge.net/projects/freepascal/files/Win32/3.2.0/ ), I get the
following error:

odd_gardens.pp(37,44) Error: Undefined symbol:
DPARSER_D:=D:\proj\.debug\games\odd_gardens_PARSEHEXU32UNSAFE$PCHAR$PCHAR$LONGWORDD:=D:\proj\.debug\games\odd_gardensLONGWORD

odd_gardens.pp is the main source file of the program,
dparser is one of units in the project,
ParseHexU32Unsafe is a function in the dparser unit, and
D:\proj\.debug\games\odd_gardens is the directory with the program source
file.

Line 37 of the odd_gardens.pp seems to be unrelated to the error:

QuestSetConfigFileName('data/config.json');

How do I investigate this?

-- 
Victor Matuzenko (Виктор Матузенко)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200731/92a6590a/attachment.htm>


More information about the fpc-pascal mailing list