[fpc-devel]'= type pointer' doesn't work in package?
andrew johnson
acjgenius at earthlink.net
Thu Mar 6 20:45:35 CET 2003
I was trying to get the gtk2 headers into a normal fpc package format
and discovered that while for instance glib2 will compile with no issue
with fpc directly, when compiled as a package within an fpc 1.0.7
tree(from yesterday), it raises an error "cannot create unique type from
this type" and then a compiler panic 99999 on
PGMemChunk = type pointer; // internal structure of gmem.c
PGAllocator = type pointer; // internal structure of gmem.c
this happens anywhere in the gtk2 code where '= type pointer' is used.
commenting out the 'type' everything works.
any ideas why? is this a bug with a flag passed to packages?
I have not tried this with 1.1 yet.
Andrew
More information about the fpc-devel
mailing list