mingw32-g++.exe -Wall -pipe -mthreads -Wno-attributes -std=gnu++0x -pthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -g -D__WXDEBUG__ -IC:\MinGW\include -IC:\MinGW\contrib\include -IC:\MinGW\lib\gcc_dll\mswud -c C:\Users\user\Desktop\game1\game.cpp -o obj\Debug\game.o
mingw32-g++.exe: error: unrecognized command line option '-pthreads'
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings (0 minutes, 0 seconds)
That happens every time I try to build.