[fpc-devel] arm-embedded target does not compile in trunk since revision 26964 (Some AVR related changes)

Michael Ring mail at michael-ring.org
Wed Mar 12 16:51:05 CET 2014


As there was no reaction I created a patch, question is if this patch 
can be generally applied or if this version of patch should be specific 
for arm targets. I guess it should be universal because it matches the 
other definitions that also use pChar in the same file.



[ring at macbookpro fpc]$ svn diff rtl/embedded/sysfile.inc
Index: rtl/embedded/sysfile.inc
===================================================================
--- rtl/embedded/sysfile.inc    (revision 27114)
+++ rtl/embedded/sysfile.inc    (working copy)
@@ -69,7 +69,7 @@
  begin
  end;

-procedure do_open(var f;p:PFileTextRecChar;flags:longint; pchangeable: 
boolean);
+procedure do_open(var f;p:pChar;flags:longint; pchangeable: boolean);
  begin
  end;




Am 07.03.14 16:35, schrieb Michael Ring:
> Error Message is:
>
> */bin/mkdir -p /Users/ring/devel/fpc/rtl/units/arm-embedded
> /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- -gw2 -Us -Sg system.pp
> system.inc(1581,25) Error: Incompatible type for arg no. 2: Got 
> "PChar", expected "PFileTextRecChar"
> system.inc(1772,8) Warning: Implicit string type conversion from 
> "RawByteString" to "UnicodeString"
> system.pp(257) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
>
>
> *
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140312/7a90e8ba/attachment.html>


More information about the fpc-devel mailing list