Closed miniduck closed 9 years ago
Thank you for your feedback. It's a breaking change in Emscripten 1.22. We're working on it with them.
In the meantime, disable the plugin entirely by commenting it out in the $MINKO_HOME/premake5.lua file and rebuild the solution.
Ah thank you!
Tried to conform the function to what emscripten wants but not much luck.
static void completeHandler(void*, void*, unsigned*);
static void errorHandler(void, int code = 0, const char* = "");
static void progressHandler(void*, int, int);
In file included from src/minko/net/HTTPProtocol.cpp:20:
include\minko/net/HTTPProtocol.hpp:59:25: error: 'void' must be the first and only parameter if specified
errorHandler(void, int code = 0, const char* = "");
This is now fixed in dev.
Using dev I'm getting this on both em 1.22 and latest incoming
src/minko/net/HTTPProtocol.cpp:173:9: error: no matching function for call to 'emscripten_async_wget2_data' emscripten_async_wget2_data(resolvedFilename().cstr(), "GET", "... ^
~~~~~~ D:\sdk\Emscripten\emscripten\incoming\system\include\emscripten/emscripten.h:158 :5: note: candidate function not viable: no known conversion from 'void ()(void , void , unsigned int)' to 'em_async_wget2_data_onloadfunc' (aka 'void ()(unsigned int, void _, void , unsigned int)') for 6th argument int emscripten_async_wget2data(const char url, const char\ requesttype... ^