Advertisement
Guest User

Untitled

a guest
Feb 20th, 2022
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. In file included from i686-w64-mingw32\include/SDL2/SDL_audio.h:37,
  2. from i686-w64-mingw32\include/SDL2/SDL.h:36,
  3. from src/screenshot.c:3:
  4. src/screenshot.c: In function 'pong_Screenshot':
  5. i686-w64-mingw32\include/SDL2/SDL_thread.h:121:25: error: '_beginthreadex' undeclared (first use in this function); did you mean 'SDL_beginthread'?
  6. 121 | #define SDL_beginthread _beginthreadex
  7. | ^~~~~~~~~~~~~~
  8. i686-w64-mingw32\include/SDL2/SDL_thread.h:145:102: note: in expansion of macro 'SDL_beginthread'
  9. 145 | #define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
  10. | ^~~~~~~~~~~~~~~
  11. src/screenshot.c:34:30: note: in expansion of macro 'SDL_CreateThread'
  12. 34 | SDL_Thread *thread = SDL_CreateThread(pong_SaveFile, "SaveFile", (void *) screenshot);
  13. | ^~~~~~~~~~~~~~~~
  14. i686-w64-mingw32\include/SDL2/SDL_thread.h:121:25: note: each undeclared identifier is reported only once for each function it appears in
  15. 121 | #define SDL_beginthread _beginthreadex
  16. | ^~~~~~~~~~~~~~
  17. i686-w64-mingw32\include/SDL2/SDL_thread.h:145:102: note: in expansion of macro 'SDL_beginthread'
  18. 145 | #define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
  19. | ^~~~~~~~~~~~~~~
  20. src/screenshot.c:34:30: note: in expansion of macro 'SDL_CreateThread'
  21. 34 | SDL_Thread *thread = SDL_CreateThread(pong_SaveFile, "SaveFile", (void *) screenshot);
  22. | ^~~~~~~~~~~~~~~~
  23. i686-w64-mingw32\include/SDL2/SDL_thread.h:124:23: error: '_endthreadex' undeclared (first use in this function)
  24. 124 | #define SDL_endthread _endthreadex
  25. | ^~~~~~~~~~~~
  26. i686-w64-mingw32\include/SDL2/SDL_thread.h:145:144: note: in expansion of macro 'SDL_endthread'
  27. 145 | #define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
  28. | ^~~~~~~~~~~~~
  29. src/screenshot.c:34:30: note: in expansion of macro 'SDL_CreateThread'
  30. 34 | SDL_Thread *thread = SDL_CreateThread(pong_SaveFile, "SaveFile", (void *) screenshot);
  31. | ^~~~~~~~~~~~~~~~
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement