<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 31/03/2014 14:07, Jonas Maebe wrote:<br>
</div>
<blockquote
cite="mid:80E1C4E8-02EA-4FF5-9A32-B38A2705B875@elis.ugent.be"
type="cite"><br>
<div>
<div>On 31 Mar 2014, at 14:53, Martin Frb wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite"><span style="color: rgb(0, 0, 0);
font-family: monospace; font-size: medium; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important;
float: none;">But this is not about the question if this
works. It would be fine if it gave a proper error. But an
"Internal Error"? That seems to be a bug.</span><br
style="color: rgb(0, 0, 0); font-family: monospace;
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;">
</blockquote>
</div>
<br>
<div>You said that you got "Fatal: Compilation aborted", not that
you got an internal error. Internal errors are indeed always
bugs.</div>
<br>
</blockquote>
<br>
Sorry, now I was incorrect. It does not say "internal". What I meant
to describe is, that it gives the "fatal error" without any extra
error message, or without indication where or why the error
happened.<br>
That is something, that up to now, I have only seen with internal
errors.<br>
<br>
So question is should there be some other error message?<br>
<blockquote type="cite"><br>
Hint: Start of reading config file
C:\FPC\rel_2_6_2\gw\bin\i386-win32\fpc.cfg<br>
Hint: End of reading config file
C:\FPC\rel_2_6_2\gw\bin\i386-win32\fpc.cfg<br>
Free Pascal Compiler version 2.6.2 [2013/02/16] for i386<br>
Copyright (c) 1993-2012 by Florian Klaempfl and others<br>
Target OS: Win32 for i386<br>
Compiling project1.lpr<br>
Fatal: Compilation aborted<br>
<br>
</blockquote>
<br>
Shortened example:<br>
<br>
program project1;<br>
{$t+}<br>
var<br>
a : array of integer;<br>
<br>
procedure Foo(var c: array of integer);<br>
begin<br>
writeln( (@c)^[1] );<br>
readln;<br>
end;<br>
<br>
begin<br>
SetLength(a,5);<br>
a[0]:= 100;<br>
a[1]:= 101;<br>
foo(a);<br>
end.<br>
<br>
<br>
</body>
</html>