> I found a bug in registry.pp file.
> I use fpc 1.0.10 release version. So It's possible that this is already fixed.
I fixed it in the 1.9.x branch.
___
fpc-devel maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Hi,
I found a bug in registry.pp file.
I use fpc 1.0.10 release version. So It's possible that this is already fixed.
Change this line from:
TRegDataType = (rdUnknown, rdString, rdExpandString, rdInteger, rdBinary);
to:
TRegDataType = (rdUnknown, rdString, rdExpandString, rdBinary, rdInteger
I know. But either the compiler don't make error message in this,
or make but with correct text, because it is not unambiguous for me.
The error text is now:
compiler switches aren't allowed in (* ... *) styled comments
Darek Mazur wrote:
> $ is begin of compilation directive like $IFDEF or $A-
> Which segfaults immediately because %eax contains the return value of
> _addref (stdcall calling convention) which is 1 in this case.
>
> I don't really know where the problem is (ie, why the compiler generates
> this code), however this keeps reference counted interfaces from working
> at all.