-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/cgo: C typedef not reflect in Go #12599
Comments
When I run your program using GCC 4.8.4 on Ubuntu Trusty it prints In general cgo determines the C type from the debug info generated by the C compiler. What compiler are you using? |
|
I can verify that when I use GCC 4.6 I get |
thank you very much!
|
source code:
and the result is :
not the result I expect:
I use the cgo tool and here is a part of the results:
Here is some info about my server
The text was updated successfully, but these errors were encountered: