FAQ
Hello

Unfortunately this change broke stuff for us.

If you have two .go files in the same package that use the same
C.SOMETHING constant, your build fails with:

inconsistent definitions for C.SOMETHING

One way to work around this is to define a const in one file, but maybe
it wasn't intended to break?

Regards,

Albert
On 2012/09/07 03:33:02, jsing wrote:
*** Submitted as
http://code.google.com/p/go/source/detail?r=41976e2fec9b ***
cgo: use debug data section for ELF
When generating enums use the debug data section instead of the
DWARF debug info, if it is available in the ELF file. This allows
mkerrors.sh to work correctly on OpenBSD/386 and NetBSD/386.
Fixes issue 2470.
R=golang-dev, minux.ma
CC=golang-dev
http://codereview.appspot.com/6495090
http://codereview.appspot.com/6495090/

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 9 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedSep 6, '12 at 2:19p
activeSep 7, '12 at 2:43p
posts9
users4
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase