[fpc-devel] Bug in FPC and declaring distinct types

Florian Klaempfl florian at freepascal.org
Thu Sep 18 16:20:58 CEST 2008


Yury Sidorov schrieb:

>>
>> We discussed this once and concluded, that something like this hurts 
>> more than it helps because an overloaded assignment operator allows 
>> the compiler always to mess really around :)
> 
> Maybe.
> But you stated that it is possible to create fully functional utf8string 
> type from ansistring. :)
> Unfortunately it is not true :(

Indeed, you can only to a certain limit, but imo you can get very far. 
Things like rtti, writeln etc. aren't fixable indeed.



More information about the fpc-devel mailing list