Discussion:
Trying to patch TGuid
(too old to reply)
Jonas Maebe
2016-12-23 12:12:26 UTC
Permalink
Raw Message
Here is I stuck. Can anyone suggest what is wrong here? The compiler does not allow include operator overloading or record methods in the system modules? Or is it some kind of a bug?
It's because the compiler has built-in assumptions regarding the symbols
that the tguid type contains and in which order they appear. Adding
extra symbols breaks those assumptions.

I'll see tonight whether I can remove those hard-coded assumptions.


Jonas
_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
http://lists.free
Jonas Maebe
2016-12-23 20:21:42 UTC
Permalink
Raw Message
Post by Jonas Maebe
Here is I stuck. Can anyone suggest what is wrong here? The compiler
does not allow include operator overloading or record methods in the
system modules? Or is it some kind of a bug?
It's because the compiler has built-in assumptions regarding the symbols
that the tguid type contains and in which order they appear. Adding
extra symbols breaks those assumptions.
I'll see tonight whether I can remove those hard-coded assumptions.
Should be fixed in r35190.


Jonas

_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/lis

Loading...