[fpc-devel] Problem with nested classes and const struct values
Andrew Brunner
andrew.t.brunner at gmail.com
Mon Apr 30 16:48:13 CEST 2012
This problem recently appeared in svn/fpc/trunk
I tried pointing to:
CLSInfo : @Root.Test.CLSInfo ; // Still not working
CLSInfo : @Root.Test.CLSInfo1 ;// Renamed dec and still didn't work.
This problem did not exist a few days ago.
I have a ton of units that don't compile now!!!
Please help.
atbrunner at Satellite:/Developer/Source/Projects/Test/Nested$ fpc ./Test.lpr
Free Pascal Compiler version 2.7.1 [2012/04/30] for x86_64
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling ./Test.lpr
Test.lpr(65,43) Error: Illegal expression
Test.lpr(65,36) Error: Incompatible types: got "Pointer" expected "PCLSInfo"
Test.lpr(65,43) Error: Illegal expression
Test.lpr(66,36) Error: Incompatible types: got "Pointer" expected "PACLInfo"
Test.lpr(66,43) Error: Illegal expression
Test.lpr(73) Fatal: There were 5 errors compiling module, stopping
Fatal: Compilation aborted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20120430/df7fa518/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.lpi
Type: application/octet-stream
Size: 1971 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20120430/df7fa518/attachment.obj>
More information about the fpc-devel
mailing list