• Roger Peppe's avatar
    cgo: improve error reporting slightly. · 76130bde
    Roger Peppe authored
    If there were warnings or errors in the user code,
    cgo would print the first error from gcc and then stop,
    which is not helpful.
    This CL makes cgo ignore errors from user code
    in the first pass - they will be shown later.
    It also prints errors from user preamble code
    with the correct line numbers.
    (Also fixed misleading usage message).
    
    R=iant, rsc
    CC=golang-dev
    https://golang.org/cl/4082047
    76130bde
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...