Subject: Re: port-hpcmips/23459: termcap.h:67: error: parse error before numeric constant
To: None <netbsd-bugs@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 11/16/2003 14:59:52
> >Category:       port-hpcmips
> >Synopsis:       termcap.h:67: error: parse error before numeric constant
> >Description:
> 	I did "build.sh release" with today's -current source (1.5ZF).
> 	I got below error when I built hpcmips target. (i386 was OK)

> /home/d/hpcmips/usr/include/termcap.h:67: error: parse error before numeric constant

I suspect this has something to do with the:
    mips/include/regnum.h:#define   PC      37
which doesn't co-exist very well with termcap.h's:
    extern  char PC;

I suspect regnum.h could do with restricting the namespace it uses.

	David

-- 
David Laight: david@l8s.co.uk