Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build break - port amd64 - bin/csh/file.c

On Fri, 23 Sep 2011, Paul Goyette wrote:

#   compile  csh/file.o
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Werror --sysroot=/build/netbsd-local/dest/amd64 -I/build/netbsd-local/src/bin/csh -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS -c /build/netbsd-local/src/bin/csh/file.c
/build/netbsd-local/src/bin/csh/file.c: In function 'pushback':
/build/netbsd-local/src/bin/csh/file.c:164:14: error: 'tp' undeclared (first use in this function) /build/netbsd-local/src/bin/csh/file.c:164:14: note: each undeclared identifier is reported only once for each function it appears in
cc1: warnings being treated as errors
/build/netbsd-local/src/bin/csh/file.c:164:23: error: unused variable 'svchars'
/build/netbsd-local/src/bin/csh/file.c:164:10: error: unused variable 'buf'
*** [file.o] Error code 1

It doesn't look like this has changed recently, so I'm not at all sure where this failure is coming from.

        {429} head -1 /build/netbsd-local/src/bin/csh/file.c
        /* $NetBSD: file.c,v 1.28 2009/02/14 07:12:29 lukem Exp $ */

Looks like this might be a result of christos's TTYHOG changes

        static int
        pushback(Char *string)
            struct termios tty, tty_normal;
            char buf[TTYHOG], svchars[TTYHOG];
            sigset_t nsigset, osigset;
            Char *p;

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at |
| Kernel Developer |                          | pgoyette at  |

Home | Main Index | Thread Index | Old Index