I was wondering if anyone has come across this before - or knows of a fix.
On all other non-QNX systems I’ve used, the following code compiles cleanly:
wchar_t foo = L"bar";
But on QNX this produces the compiler error: invalid initializer .
However, the following code DOES compile cleanly:
wchar_t *foo = L"bar";
Is it possible to compile the first version? Why would one version be supported over the other?