I have to switch to windows for a week and I cant run my projectI installed GCC via Cygwin and added it to path, I can call it from any shell. I set CGOENABLED=1
because it was required but I keep getting
gcc_libinit_windows.c: In function '_cgo_beginthread':gcc_libinit_windows.c:143:27: error: implicit declaration of function '_beginthread'; did you mean '_cgo_beginthread'? [-Werror=implicit-function-declaration] 143 | thandle = _beginthread(func, 0, arg); | ^~~~~~~~~~~~ | _cgo_beginthreadcc1: all warnings being treated as errors
please help i lost whole day trying to fix this