[fpc-devel] FPC fails on overload

Sven Barth pascaldragon at googlemail.com
Tue Jun 19 07:18:25 CEST 2018

Am 19.06.2018 um 02:47 schrieb J. Gareth Moreton:
> Technically it's a regression because it worked fine before and it 
> breaks now.  However, I do agree... how should a string literal be 
> interpreted? Technically either a WideString or UnicodeString is 
> correct, so the compiler cannot decide between them or even know what 
> the best fit is.
It's an overload between UnicodeString and WideCHAR, not WideString, so 
there is a definitive difference.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20180619/651188cc/attachment.html>

More information about the fpc-devel mailing list