Hi Sven,<br><br>My unite uses contnrs unit, how can I instruct the compiler to use the contnrs unit (also the Classes and sysutils units) of v2.7.1? I have already built 2.7.1 and now try to compile my program in the fpc source dir as you told.<br>
<br>Thanks<br><br><div class="gmail_quote">2013/3/22 Xiangrong Fang <span dir="ltr"><<a href="mailto:xrfang@gmail.com" target="_blank">xrfang@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I didn't see a DEB package for 2.7.1. I am currently using 2.6.0. Can I compile 2.7.1 from source with 2.6.0?<br><br><div class="gmail_quote">2013/3/22 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div text="#000000" bgcolor="#FFFFFF">
<div>Am 22.03.2013 08:13, schrieb Xiangrong
Fang:<br>
</div><div>
<blockquote type="cite">
<div class="gmail_quote"><span style="font-family:courier new,monospace">2013/3/22 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span><br>
</span>
<div>
<span style="font-family:courier new,monospace"> </span></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="font-family:courier new,monospace">> The problem
is gone, because PNode is not a generic class, but only a
record. However, the following errors are generated:</span>
<p><span style="font-family:courier new,monospace">2.6.x does
not support nested types in generics. Generic fixes and
improvements are only found in 2.7.1 as most of them were
to invasive to be merged back.</span></p>
</blockquote>
<div><span style="font-family:courier new,monospace">OK, then
why this error happened:<br>
<br>
demo2.lpr(76,13) Error: Incompatible types: got
"TRoller.TTreap$PPerson$Byte" expected "TRoller"<br>
</span></div>
</div>
</blockquote>
<br></div>
AFAIR there was also a problem with result types in generics. Could
you please test your code with 2.7.1 to be sure?<br>
<br>
Regards,<br>
Sven<br>
</div>
<br></div></div>_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br></blockquote></div><br>
</blockquote></div><br>