Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for extraArgs (0.05 sec)

  1. src/cmd/cgo/gcc.go

    // the errors that gcc prints. That is, this function expects
    // gcc to fail.
    func (p *Package) gccErrors(stdin []byte, extraArgs ...string) string {
    	// TODO(rsc): require failure
    	args := p.gccCmd()
    
    	// Optimization options can confuse the error messages; remove them.
    	nargs := make([]string, 0, len(args)+len(extraArgs))
    	for _, arg := range args {
    		if !strings.HasPrefix(arg, "-O") {
    			nargs = append(nargs, arg)
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top