-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Description
Before filing a bug, please check whether it has been fixed since the latest release: run "hg pull -u" and retry what you did to reproduce the problem. Thanks. What steps will reproduce the problem? 1. cgo foo.go (attached) 2. see that "typedef <something> uintptr" is not included in the preamble of _cgo_export.h 3. gcc -c _cgo_export.c What is the expected output? No error from gcc What do you see instead? _cgo_export.h:16: error: expected ‘)’ before ‘p0’ _cgo_export.c:5: error: expected ‘)’ before ‘p0’ What is your $GOOS? $GOARCH? linux, 386 Which revision are you using? (hg identify) 36cb646b1790 tip Please provide any additional information below.
Attachments:
- foo.go (100 bytes)