Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
crypto/x509: cgo errors on for loop initial declarations with gcc pre-C99 #24425
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
@avinashrd Yes, if you install a more recent version of GCC (for example
@gopherbot was just reporting that we are working on a fix in Go, but that will not be available until Go 1.11, and it might not be enough to make GCC 4.9 work anyway.
I updated to 7.3 as suggested and ran the same program. I am getting this error now
In file included from /System/Library/Frameworks/Security.framework/Headers/AuthSession.h:32:0,
Go Env :