cmd/cgo
use void keyword in generated headers on extern'd function declarations with no paramsNeedsFixcompiler/runtimehelp wanted
#68411 opened 2 months ago by sixcorners
duplicate libobjc library with 2 or more cgo packages with Objective-CGoCommandNeedsInvestigationOS-Darwincompiler/runtime
#67799 opened 4 months ago by dmitshur
generated code uses aliases even in modules using Go older than 1.9NeedsFixcompiler/runtimehelp wanted
#67738 opened 4 months ago by dominikh
#67333 opened 4 months ago by dominikh
#66142 opened 7 months ago by ser-mk
#64923 opened 9 months ago by newacorn
#62130 opened 1 year ago by dunglas
compiler accepts invalid declaration of methods on aliases to C typesNeedsFixcompiler/runtimehelp wanted
#60725 opened 1 year ago by eliasnaur
building fully statically linked executable for Android fails when cgo is enabledNeedsInvestigationOS-Androidcompiler/runtime
#59942 opened 1 year ago by leleliu008
#59735 opened 1 year ago by motiejus
#57442 opened 2 years ago by CaptainDario
__declspec(dllexport) generated in header file while building shared-c lib on windowsNeedsInvestigationOS-Windowscompiler/runtime
#56994 opened 2 years ago by Marco-LIU
#56853 opened 2 years ago by HinTak
missing documentation about "dllexport" redeclaration problem on windows/arm64DocumentationNeedsFixcompiler/runtime
#49721 opened 2 years ago by bcmills
#49476 opened 2 years ago by hajimehoshi
miscalculates C array offset when C struct has __attribute__((__packed__))NeedsFixcompiler/runtimehelp wanted
#46675 opened 3 years ago by yoursunny
generates incorrect int constants from #define with cast to ulong typedef with clangNeedsInvestigationcompiler/runtime
#46247 opened 3 years ago by ansiwen
absolute Unix paths in CFLAGS are converted to relative Windows path when using mingw64 to compile cgoNeedsInvestigationcompiler/runtime
#46077 opened 3 years ago by dominicletz
#45940 opened 3 years ago by jochen42
#45644 opened 3 years ago by perillo
code using <iostream> header silently terminates on WindowsNeedsInvestigationOS-Windowscompiler/runtime
#45468 opened 3 years ago by gegogi
#44974 opened 3 years ago by pmuetschard
building c-archive with function pointer works with Go 1.14, but not 1.15 and beyondNeedsFixcompiler/runtimehelp wanted
#44648 opened 3 years ago by willie
#43505 opened 3 years ago by mwhudson
msvc created dll can be linked with cgo but executable fails with "The procedure entry point AddVectoredExceptionHandler could not be located"NeedsInvestigationOS-Windows
#43244 opened 3 years ago by philippseith
#41177 opened 4 years ago by rogchap
#41072 opened 4 years ago by Helflym
Null pointer is accessed in C code, causing the stack to be destroyedNeedsInvestigationcompiler/runtime
#41070 opened 4 years ago by fananchong
cgo + static const int results in "undefined reference" on linuxNeedsInvestigationcompiler/runtimehelp wanted
#40820 opened 4 years ago by p8a
Relocation overflow occurring when calling crosscall2 on aix/ppc64NeedsInvestigationOS-AIXcompiler/runtime
#40609 opened 4 years ago by Helflym
#40594 opened 4 years ago by Keithcat1
#40507 opened 4 years ago by mdempsky
add #cgo CFLAGS and #CGO CXXFLAGS directives that only apply to files in the current packageFeatureRequestNeedsInvestigationcompiler/runtime
#40041 opened 4 years ago by Keithcat1
#39537 opened 4 years ago by mdempsky
#39136 opened 4 years ago by elagergren-spideroak
inject preamble before other include directivesFeatureRequestNeedsInvestigationcompiler/runtimehelp wanted
#35315 opened 5 years ago by philtay
#35071 opened 5 years ago by Helflym
#32734 opened 5 years ago by DryHumour
#32411 opened 5 years ago by yath
#31683 opened 5 years ago by jbarone
#29878 opened 5 years ago by phst
#29877 opened 5 years ago by phst
#28606 opened 6 years ago by crawshaw
#28454 opened 6 years ago by egonelbre
#28340 opened 6 years ago by eliasnaur
undefined reference for C function with -buildmode=c-archiveNeedsInvestigationcompiler/runtimehelp wanted
#25832 opened 6 years ago by ZolAnder85
#23468 opened 6 years ago by technicalviking
provide some mechanism for treating certain C pointer types as uintptrFeatureRequestNeedsInvestigationhelp wanted
#22906 opened 6 years ago by worldiety
#22707 opened 7 years ago by bcmills
#21878 opened 7 years ago by bcmills
#20275 opened 7 years ago by zagrodzki
#19837 opened 7 years ago by bcmills
#19836 opened 7 years ago by bcmills
type error when using pointers to C functionscompiler/runtime
#19835 opened 7 years ago by bcmills
C code with function taking pointer typedef leads to C compiler warningNeedsFixcompiler/runtimehelp wanted
#19832 opened 7 years ago by ianlancetaylor
#19487 opened 7 years ago by ianlancetaylor
#17014 opened 8 years ago by nadiasvertex
arrange to pass unmodified Go source files to compiler, go/typesProposal-Accepted
#16623 opened 8 years ago by mdempsky
#15980 opened 8 years ago by bcmills
unexpected allocations when passing void pointerscompiler/runtime
#15048 opened 8 years ago by bmatsuo
cgo does not link dependencies into archivescompiler/runtime
#14985 opened 8 years ago by tamird
godefs doesn't work nicely with multiple input filescompiler/runtime
#14919 opened 8 years ago by mundaym
signal arrived during external code execution that calls setjmp on WindowsNeedsFixOS-Windowshelp wanted
#13672 opened 8 years ago by redstorm-fyy
cgo gets confused by equivalent #defined typescompiler/runtime
#13636 opened 8 years ago by bits01
make identical C types identical Go types across packagescompiler/runtime
#13467 opened 8 years ago by bcmills
#13247 opened 9 years ago by neild
#12216 opened 9 years ago by deweerdt
macros for C field names not recognized by cgoNeedsInvestigation
#9601 opened 9 years ago by jeeger
generates far too many //line pragmasNeedsInvestigation
#9565 opened 9 years ago by minux
C streams are not flushed at program exitNeedsInvestigation
#8808 opened 10 years ago by gopherbot
#8420 opened 10 years ago by gopherbot
Allow C code to use structures defined in GoNeedsInvestigation
#8114 opened 10 years ago by gopherbot
#7604 opened 10 years ago by gopherbot
#7270 opened 10 years ago by gopherbot
pointers of Objective-C classes compatibilityNeedsInvestigation
#7039 opened 10 years ago by hajimehoshi
#6942 opened 10 years ago by LukeMauldin
more mkall.sh behaviour changes at tipNeedsInvestigation
#6677 opened 11 years ago by alberts
atexit handlers not runNeedsInvestigation
#5948 opened 11 years ago by gopherbot
godefs shouldnt try to guess which struct field's identifier prefixes preceding `_` is okay to strip.NeedsInvestigation
#5256 opened 11 years ago by gopherbot
-godefs doesn't handle embedded struct fields correctlyNeedsInvestigation
#5253 opened 11 years ago by gopherbot
#1691 opened 13 years ago by rsc
cannot call functions with variable-argument lists.NeedsInvestigation
#975 opened 14 years ago by gopherbot