Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from i686-w64-mingw32\include/SDL2/SDL_audio.h:37,
- from i686-w64-mingw32\include/SDL2/SDL.h:36,
- from src/screenshot.c:3:
- src/screenshot.c: In function 'pong_Screenshot':
- i686-w64-mingw32\include/SDL2/SDL_thread.h:121:25: error: '_beginthreadex' undeclared (first use in this function); did you mean 'SDL_beginthread'?
- 121 | #define SDL_beginthread _beginthreadex
- | ^~~~~~~~~~~~~~
- i686-w64-mingw32\include/SDL2/SDL_thread.h:145:102: note: in expansion of macro 'SDL_beginthread'
- 145 | #define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
- | ^~~~~~~~~~~~~~~
- src/screenshot.c:34:30: note: in expansion of macro 'SDL_CreateThread'
- 34 | SDL_Thread *thread = SDL_CreateThread(pong_SaveFile, "SaveFile", (void *) screenshot);
- | ^~~~~~~~~~~~~~~~
- i686-w64-mingw32\include/SDL2/SDL_thread.h:121:25: note: each undeclared identifier is reported only once for each function it appears in
- 121 | #define SDL_beginthread _beginthreadex
- | ^~~~~~~~~~~~~~
- i686-w64-mingw32\include/SDL2/SDL_thread.h:145:102: note: in expansion of macro 'SDL_beginthread'
- 145 | #define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
- | ^~~~~~~~~~~~~~~
- src/screenshot.c:34:30: note: in expansion of macro 'SDL_CreateThread'
- 34 | SDL_Thread *thread = SDL_CreateThread(pong_SaveFile, "SaveFile", (void *) screenshot);
- | ^~~~~~~~~~~~~~~~
- i686-w64-mingw32\include/SDL2/SDL_thread.h:124:23: error: '_endthreadex' undeclared (first use in this function)
- 124 | #define SDL_endthread _endthreadex
- | ^~~~~~~~~~~~
- i686-w64-mingw32\include/SDL2/SDL_thread.h:145:144: note: in expansion of macro 'SDL_endthread'
- 145 | #define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
- | ^~~~~~~~~~~~~
- src/screenshot.c:34:30: note: in expansion of macro 'SDL_CreateThread'
- 34 | SDL_Thread *thread = SDL_CreateThread(pong_SaveFile, "SaveFile", (void *) screenshot);
- | ^~~~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement