Hi. I recently updated to latest emscripten for Dune2. It uses ASYNCIFY=1, but now when I compile project normally I have a lot of message like:
warning: Asyncify onlylist contained a non-existing function name: GameOptions_Save (GameOptions_Save)
warning: Asyncify onlylist contained a non-existing function name: Game_Init (Game_Init)
warning: Asyncify onlylist contained a non-existing function name: Game_LoadScenario (Game_LoadScenario)
...
Almost every function that I have in asyncify list generate this warning. And of course when I run the game in browser id didn't work. But if I add -g to compile command
this warnings goes away and game works. I don't understand is it intended behavior or not?
The worst thing if remove -g and set ASSERTIONS=1, I see the "unreachable executed" error but I can't understand the function name because it obfuscated. I am very
confused how I should build asyncify list for non -g mode?