• 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
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...