I am seeing an annoying warning by the emscripten compiler, that the MSVC 
compiler doesn't give.

It has to do with some code that is calling a function that takes (const 
char[]) as a parameter while the variable being fed to it is a (const 
char*).

MSVC is fine with that, and emscripten is too. (it compiles)
But emscripten gives a series of ugly warnings about this being "unsafe".

I tried casting the char pointer to a (const char[]) but then MSVC was 
unhappy about that.

Can you think of an alternate approach?
I don't *have *to do anything about this, but the warnings are ugly and 
annoying.

-- 
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 emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/80a14a40-becb-42c3-a2be-796f62d5f7f6n%40googlegroups.com.

Reply via email to