On 18 Aug 2012, at 22:22, Sven Barth wrote:

> E.g. consider the following example:
> 
> {$mode delphiunicode}
> 
> type
>  TMyStringList = class(TStringList)
>    function Add(const aText: String): Integer; override;
>  end;
> 
> This will currently give a compile error, because TStringList is compiled 
> with "String = AnsiString" and thus the override is incorrect.
> 
> AFAIK there isn't any switch for that mode yet. You might want to create a 
> bug report...

A bug report for that is not useful at this time, because this is the part on 
which there is still discussion. It will depend on how the RTL is handled 
whether any switch will even be required for that (other than {$mode 
delphiunicode}).


Jonas_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to