<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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.<br>
<br>
<br>
<br>
[ring@macbookpro fpc]$ svn diff rtl/embedded/sysfile.inc<br>
Index: rtl/embedded/sysfile.inc<br>
===================================================================<br>
--- rtl/embedded/sysfile.inc (revision 27114)<br>
+++ rtl/embedded/sysfile.inc (working copy)<br>
@@ -69,7 +69,7 @@<br>
begin<br>
end;<br>
<br>
-procedure do_open(var f;p:PFileTextRecChar;flags:longint;
pchangeable: boolean);<br>
+procedure do_open(var f;p:pChar;flags:longint; pchangeable:
boolean);<br>
begin<br>
end;<br>
<br>
<br>
<br>
<br>
Am 07.03.14 16:35, schrieb Michael Ring:<br>
</div>
<blockquote cite="mid:5319E73B.8090204@michael-ring.org" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Error Message is:<br>
<br>
<b>/bin/mkdir -p /Users/ring/devel/fpc/rtl/units/arm-embedded<br>
/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<br>
system.inc(1581,25) Error: Incompatible type for arg no. 2: Got
"PChar", expected "PFileTextRecChar"<br>
system.inc(1772,8) Warning: Implicit string type conversion from
"RawByteString" to "UnicodeString"<br>
system.pp(257) Fatal: There were 1 errors compiling module,
stopping<br>
Fatal: Compilation aborted<br>
<br>
<br>
</b> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fpc-devel maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>