[fpc-devel] Trunk does not build for arm-embedded since rev 25888

Max Nazhalov stein_nospam at mail.ru
Sun Nov 3 09:52:39 CET 2013


On 01/11/13 09:22, Michael Ring wrote:
> I tried today's trunk, unfortunately it does not build:
>
>
> /Users/ring/devel/fpc/compiler/ppcrossarm -Cparmv7m @rtl.cfg -Ur
> -Tembedded -Parm -XParm-none-eabi- -Xr -Ur -Xs -O2 -n -Fi../inc
> -Fi../arm -FE. -FU/Users/ring/devel/fpc/rtl/units/arm-embedded -darm
> -dRELEASE -O- -Us -Sg system.pp
> flt_pack.inc(127,45) Error: Incompatible type for arg no. 1: Got "Real",
> expected "float64"

One possible solution is to not rely on "FPC_SYSTEM_HAS_extract*" and always do the work yourself, but I'm not sure.
Nevertheless, I'm attaching the suggested patch.

---
WBR, Max.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flt_pack.diff
Type: application/octet-stream
Size: 1103 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20131103/9e8ed526/attachment.obj>


More information about the fpc-devel mailing list