I’m going mad. Is there a way to do x-platform debug printing of String ? On one hand, in Windows I must use %s and (const juce_wchar*) cast, whilst on Mac I must use %S for the same thing. Any suggestions?
Edit: If I for JUCE_WIN32 change CharacterFunctions::vprintf to have the same implementation as for MACOS_10_3_OR_EARLIER, it works fine. That is %s is associated with single-byte character strings and %S is associated with wide-char strings.
Question: Will this break anything? If not, I’d suggest the change for juce.