pkgsrc-Bugs archive

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

Re: pkg/45210: bootstrap fails with gcc-4.6 in libfetch (debian wheezy)



On Sat, Oct 01, 2011 at 08:29:29PM +0200, John Marino wrote:
> On 10/1/2011 8:24 PM, Alistair Crooks wrote:
> > 
> > We only care if IPV6_PORTRANGE is defined, so we should declare
> > the variable:
> > 
> > #ifdef IPV6_PORTRANGE
> >     int     low;
> > #endif
> >  
> 
> I don't think that would solve it.
> 
> line 687: low = CHECK_FLAG('l');
> 
> Your suggestion would cause line 687 to break, no?

Indeed - so line 687 should go in #ifdef IPV6_PORTRANGE/#endif guards, too.

Or move line 687 closer to where the variable is used, such as around line
861.

Regards,
Alistair


Home | Main Index | Thread Index | Old Index