Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22306

cant run go code with sqlite3 on windows but works fine on linux

$
0
0

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


Viewing all articles
Browse latest Browse all 22306

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>