Thanks, that did it. sizeof(wchar_t) went from 4 to 2.
On Tue, Mar 11, 2014 at 3:46 PM, Jukka Jylänki <[email protected]> wrote: > There's the Clang+GCC -supported compiler flag -fshort-wchar you can use. > That doesn't affect how Emscripten operates in any way though, it's purely > implemented on the Clang side. Does that flag help? > > > 2014-03-12 0:45 GMT+02:00 Mark Hahn <[email protected]>: > >> I'm compiling an app that expects wchar_t to be 16-bits. However I'm >> getting 32-bits. I am a newbie to emscripten. Can someone tell me how >> to change it? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "emscripten-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "emscripten-discuss" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/emscripten-discuss/lGstzxlidoY/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
