[fpc-devel] Problem with nested classes and const struct values
andrew.t.brunner at gmail.com
Mon Apr 30 20:39:17 CEST 2012
The problem started when I did a fresh install of Ubuntu 12.04.
The main project that uses similar code to my attached test had FPC raise
the same error but with similar code.
Presently, a fresh build of FPC and Lazarus allows me to build my big
project however, the test project still won't build with
Test.lpr(65,36) Error: Incompatible types: got "Pointer" expected "PCLSInfo"
Test.lpr(65,44) Error: Illegal expression
Test.lpr(66,36) Error: Incompatible types: got "Pointer" expected "PACLInfo"
Test.lpr(66,44) Error: Illegal expression
Test.lpr(73) Fatal: There were 4 errors compiling module, stopping
Fatal: Compilation aborted
But yet my big project with very complex nested declarations compiles just
Enabled : false;
Name : 'Admin';
NameSpace : '/core/admin';
Caption : 'Administration Core Object';
Prompt : 'User can access administration
Description : 'Back-end system administration handler'
Name : 'TAdminCore';
Location : 'coAdmin.pas';
ID : 0;
ProviderID : 0;
Enabled : true;
Anonymous : false;
NotifyOnBuffersChanged : false;
Scale : 0;
CLSInfo : @CLSInf;
ACLInfo : @ACLInf;
<snip of more of these types of declarations>
On Mon, Apr 30, 2012 at 1:12 PM, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:
> On 30 Apr 2012, at 16:48, Andrew Brunner wrote:
> > This problem did not exist a few days ago.
> 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.
> fpc-devel maillist - fpc-devel at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel