Well,<div><br></div><div>The problem started when I did a fresh install of Ubuntu 12.04.</div><div>The main project that uses similar code to my attached test had FPC raise the same error but with similar code.</div><div>Presently, a fresh build of FPC and Lazarus allows me to build my big project however, the test project still won't build with</div>
<div><br></div><div>Compiling ./Test.lpr</div><div>Test.lpr(65,36) Error: Incompatible types: got "Pointer" expected "PCLSInfo"</div><div>Test.lpr(65,44) Error: Illegal expression</div><div>Test.lpr(66,36) Error: Incompatible types: got "Pointer" expected "PACLInfo"</div>
<div>Test.lpr(66,44) Error: Illegal expression</div><div>Test.lpr(73) Fatal: There were 4 errors compiling module, stopping</div><div>Fatal: Compilation aborted</div><div><br></div><div>But yet my big project with very complex nested declarations compiles just fine</div>
<div><snip></div><div>unit coAdmin;</div><div><br></div><div>interface</div><div>  uses hTimer,hHTTP,hHTTPd,hRSR,uRSR,Classes,uCoreObjects,uKeywords,</div><div>    hSRConsts,uTimer,uStringArray,uVarString,uKPList,hDateUtils,uFileUtils,</div>
<div>    dbmDomains,dbmCoreObjects,dbmUserAccounts,dbmRSS,dbmCalendaring,hDatabase;</div><div><br></div><div>Type</div><div>  ns=class</div><div>  Type</div><div>    Admin=class</div><div>    const</div><div>      XMLInf:TXMLInfo=(</div>
<div>        Enabled                  : false;</div><div>      );</div><div>      ACLInf:TACLInfo=(</div><div>        Name                     : 'Admin';</div><div>        NameSpace                : '/core/admin';</div>
<div>        Caption                  : 'Administration Core Object';</div><div>        Prompt                   : 'User can access administration dashboard';</div><div>        Description              : 'Back-end system administration handler'</div>
<div>      );</div><div>      CLSInf:TCLSInfo=(</div><div>        Name                     : 'TAdminCore';</div><div>        Location                 : 'coAdmin.pas';</div><div>      );</div><div>      Header:TCoreObjectInfo=(</div>
<div>        ID                       : 0;</div><div>        ProviderID               : 0;</div><div>        Enabled                  : true;</div><div>        Anonymous                : false;</div><div>        NotifyOnBuffersChanged   : false;</div>
<div>        Scale                    : 0;</div><div>        CLSInfo                  : @CLSInf;</div><div>        ACLInfo                  : @ACLInf;</div><div>      );</div><div>    <snip of more of these types of declarations>   </div>
<div><br><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 1:12 PM, Jonas Maebe <span dir="ltr"><<a href="mailto:jonas.maebe@elis.ugent.be" target="_blank">jonas.maebe@elis.ugent.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On 30 Apr 2012, at 16:48, Andrew Brunner wrote:<br>
<br>
> This problem did not exist a few days ago.<br>
<br>
</div>Can you be more precise? I just checked with trunk from before the jvmbackend merge (which is from Thursday), and that one also gives an error.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Jonas_______________________________________________<br>
</font></span><div class="HOEnZb"><div class="h5">fpc-devel maillist  -  <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-devel" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a><br>
</div></div></blockquote></div><br></div>