Current-Users archive

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

Re: pcc build failure last couple days?



On Tue, 9 Aug 2011, bch%methodlogic.net@localhost wrote:

> On Tue, Aug 09, 2011 at 07:26:54PM +0000, bch%methodlogic.net@localhost wrote:
> > On Tue, Aug 09, 2011 at 07:47:40PM +0100, Iain Hibbert wrote:
> > > On Tue, 9 Aug 2011, bch%methodlogic.net@localhost wrote:
> > >
> > > > --- dependall-pcc ---
> > > > cc1: warnings being treated as errors
> > > > /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/pftn.c: 
> > > > In function 'imop':
> > > > /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/pftn.c:3059:14:
> > > >  error: operation on 'p->n_type' may be undefined
> > > > /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/pftn.c:3076:14:
> > > >  error: operation on 'p->n_type' may be undefined
> > > > /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/pftn.c:3100:14:
> > > >  error: operation on 'p->n_type' may be undefined
> > > > /usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/pftn.c:3108:14:
> > > >  error: operation on 'p->n_type' may be undefined
> > >
> > > I guess this is related to the gcc-4.5 switchover
> > >
> > > I have not updated sources for a couple of months so still using gcc 4.1.3
> > > (and, with a newer version of pcc) but line 3059 certainly looks gross..
> > >
> > > does the patch attached fix it?
> >
> > it changes the error msg... I'll dig into it, but for the record:
>
> OK -- I don't get it. Nearest I can see it should work becase it's a
> true constant (#define), and should be an int; hoever if I swap MAXSZ
> out for "20" for example, it compiles (moving on to the next error).

I briefly looked at that with the same result, can't really check until I
update my sources (will do that today) feel free to reduce the WARNS for
the time being if that sorts out the problems I will look at it later

> --- dependall-pcc ---
> cc1: warnings being treated as errors
> scan.c:2037:16: error: 'input' defined but not used
> *** [scan.o] Error code 1

Hm, 'input' does not appear in the scan.l source file.. it is a function
introduced by flex (though is actually used in more recent pcc sources)

iain


Home | Main Index | Thread Index | Old Index