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.

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to