We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57e257e commit 06fefc0Copy full SHA for 06fefc0
src/sdl_main.cpp
@@ -3,7 +3,8 @@
3
4
#include <cstdlib>
5
6
-int main()
+// avoid SDL_main unresolved externals
7
+int main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
8
{
9
if (!SDL_Init(SDL_INIT_EVENTS | SDL_INIT_VIDEO))
10
0 commit comments