I'm, in no category, a records with methods knowledgeable fellow, but I'm
trying to compile phoenix_2013-10-15 with Ubuntu 14.04 64b, Lazarus 1.2.2 and
FCP 2.6.4 and it's tripping a "function header does not match previous
declaration..." error on TMatrix3f.Zero, TMatrix3f.Identity, TMatrix4f.Zero,
TMatrix4f.Identity, TMatrix4f.Multiply and it stopped there after 5 errors.
From message window:
.../phoenix_2013-10-15/Source/phxTypes.pas(2456,26) Error: function header
doesn't match the previous declaration "class TMatrix3f.Zero:<record type>;
Static;"
.../phoenix_2013-10-15/Source/phxTypes.pas(538,20) Hint: Found declaration:
class TMatrix3f.Zero:<record type>; Static;
.../phoenix_2013-10-15/Source/phxTypes.pas(2462,26) Error: function header
doesn't match the previous declaration "class TMatrix3f.Identity:<record type>;
Static;"
.../phoenix_2013-10-15/Source/phxTypes.pas(540,20) Hint: Found declaration:
class TMatrix3f.Identity:<record type>; Static;
.../phoenix_2013-10-15/Source/phxTypes.pas(2472,26) Error: function header
doesn't match the previous declaration "class TMatrix4f.Zero:<record type>;
Static;"
.../phoenix_2013-10-15/Source/phxTypes.pas(566,20) Hint: Found declaration:
class TMatrix4f.Zero:<record type>; Static;
.../phoenix_2013-10-15/Source/phxTypes.pas(2478,26) Error: function header
doesn't match the previous declaration "class TMatrix4f.Identity:<record type>;
Static;"
.../phoenix_2013-10-15/Source/phxTypes.pas(568,20) Hint: Found declaration:
class TMatrix4f.Identity:<record type>; Static;
.../phoenix_2013-10-15/Source/phxTypes.pas(2484,26) Error: function header
doesn't match the previous declaration "operator *(const TMatrix4f,const
TMatrix4f):<record type>;"
So, what is needed to have records with methods playing nice on FPC?
Many thanks in advance!
Cheers,
Gus
PS: I've copied my post on PGD, here. And also added Message window partial
content.
Original issue reported on code.google.com by guscarreno on 7 Jul 2014 at 11:05
Original issue reported on code.google.com by
guscarreno
on 7 Jul 2014 at 11:05