Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/cgo: do not look at error message text #6596
cgo currently looks at the error message text from a trial compilation to deduce whether a name C.foo refers to a function, type, variable, or constant. We can and should change cgo to generate programs such that only the presence or absence of an error on a particular line is needed. This will make cgo much less dependent on the compiler details.
This issue was closed.