lukewagner / polyfill-prototype-1

Experimental WebAssembly polyfill library and tools
Apache License 2.0
241 stars 42 forks source link

Fix compilation with recent Emscripten #17

Closed 1div0 closed 8 years ago

1div0 commented 8 years ago

src/unpack.cpp:279:11: error: no matching function for call to 'emscripten_print_double' len = emscripten_print_double(d, buf); ^~~~~~~ /usr/src/emsdk_portable/emscripten/incoming/system/include/emscripten/emscripten.h:251:5: note: candidate function not viable: requires 3 arguments, but 2 were provided int emscripten_print_double(double x, char *to, signed max); ^ 1 error generated.

kripken commented 8 years ago

lgtm