unique pointer for each type. But fpc 1.0.x and 1.9.x returns different values, depending on where you use the TypeInfo function. In this case: TypeInfo(TColor) called in graphics.pp returns a different value than called in classes.pp.
Submit a bug report and we'll fix it soon or later :)
One solution would be to add a further list of IntToIdent functions identified by names instead of TypeInfo. The disadvantage is, that it can be ambgious. But since the TypeInfo registering does not work, it is not used, so this workaround will not break any code. And what is more important: These things are rarely used, so as soon as the TypeInfo works, we only need to change a few lines of code.
About the addition: I think, it can be useful for alias enums (e.g. myenum = (a:=b, c:=d, ...) ). What do the fpc devels think about?
The enums are still not compatible.
_______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel