<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">сб, 1 авг. 2020 г. в 13:26, Alexey via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Did you try to delete all "lib" dirs in your project? (compiled units)<br></blockquote><div><br></div><div>Yes, I did. The error is
<span class="gmail-tlid-translation gmail-translation" lang="es"><span title="" class="gmail-">reproducible and the same each time I run clean build.</span></span>
</div><div><br></div>I've got a minimal reproducible example with similar error. See attachment.</div><div class="gmail_quote"><br></div><div class="gmail_quote">The example has two source files: dparser.pas and main.pas. The main is here only</div><div class="gmail_quote">to call the function ParseHexU32Unsafe defined in the dparser unit.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Seems like inlines lead to the error, because if I remove all inlines in the dparser unit<br></div><div class="gmail_quote">the program compiles fine.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">In provided Makefile you can find the building command line:</div><div class="gmail_quote"><br></div><div class="gmail_quote"> fpc -Sd -Oodfa -Sew -Xm -vm5037 -g -gl -al -an -ar -at -vq -Sa main.pas -omain.exe</div><div class="gmail_quote"><br></div><div class="gmail_quote">I get the following error for the example:</div><div class="gmail_quote"><br></div><div class="gmail_quote">Error: Undefined symbol: DPARSER_$$_PARSEHEXU32UNSAFE$PCHAR$PCHAR$LONGWORD$$LONGWORD</div><div class="gmail_quote"><br></div><div class="gmail_quote">What's my next step? Sending the example to bug tracker?<br></div><div class="gmail_quote"></div><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Victor Matuzenko (Виктор Матузенко)<br></div></div></div></div>