Created
May 8, 2013 16:45
-
-
Save anonymous/5541777 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| make | |
| ..\\em++.bat Tetris.cpp TEvent.cpp Tetrino.cpp TField.cpp TCell.cpp RGBColor.cpp -g -DDEBUG -lSDL -lSDLmain -o tetris | |
| (Emscripten: Running sanity checks) | |
| TEvent.cpp:39:37: error: cannot initialize a parameter of type 'SDL_Keymod' with | |
| an lvalue of type 'Uint16' (aka 'unsigned short') | |
| OnKeyDown(Event->key.keysym.sym,Event->key.keysym.mod... | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
| ./TEvent.hpp:20:45: note: passing argument to parameter 'mod' here | |
| virtual void OnKeyDown(SDLKey sym, SDLMod mod, Uint16 unicode); | |
| ^ | |
| TEvent.cpp:44:35: error: cannot initialize a parameter of type 'SDL_Keymod' with | |
| an lvalue of type 'Uint16' (aka 'unsigned short') | |
| OnKeyUp(Event->key.keysym.sym,Event->key.keysym.mod... | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
| ./TEvent.hpp:21:43: note: passing argument to parameter 'mod' here | |
| virtual void OnKeyUp(SDLKey sym, SDLMod mod, Uint16 unicode); | |
| ^ | |
| 2 errors generated. | |
| emcc: compiler frontend failed to generate LLVM bitcode, halting | |
| Makefile:36: recipe for target `tetris' failed | |
| make: *** [tetris] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment