pkgsrc-Bugs archive

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

Re: pkg/43491: libfetch compile warnings with gcc in ftp.c



The following reply was made to PR pkg/43491; it has been noted by GNATS.

From: David Holland <dholland-gnats%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/43491: libfetch compile warnings with gcc in ftp.c
Date: Sun, 20 Jun 2010 22:02:41 +0000

 On Sun, Jun 20, 2010 at 05:20:04PM +0000, Dan McGee wrote:
  >  I agree it looks bogus, considering the fix. It only happens on x86_64
  >  vs. i686 as well, which is interesting. Version 2.12 of glibc on both
  >  systems.
  >  
  >  Does it hurt to point at the right internal element though? It doesn't
  >  seem like a huge hack to me, and you refer to s6_addr elsewhere in
  >  ftp.c.
 
 It probably doesn't; but there's some chance that this only hides the
 warnings but does not avoid whatever issue is leading gcc to think
 wrong things. You should definitely report this as a gcc bug...
 
 (Since it looks to be warning on exactly the upper half of the
 address, I'm wondering if it's got wrong types or sizes somewhere.)
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index