This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Mar 2012 16:31:41 +0000
- Subject: [Bug libgcj/52645] gnu/java/net/natPlainDatagramSocketImpl.cc:660:14: error: 'IPPROTO_IPV6' was not declared in this scope
- Auto-submitted: auto-generated
- References: <bug-52645-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52645
--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2012-03-21 16:31:41 UTC ---
> --- Comment #4 from dave.anglin at bell dot net 2012-03-21 16:22:38 UTC ---
> On 3/21/2012 11:04 AM, ro at CeBiTec dot Uni-Bielefeld.DE wrote:
>> Ok, but at least struct sockaddr_in6 is present in/from<netinet/in.h>,
>> otherwise the HAVE_INET6 configure test would fail?
>
> Not that I see.
I see now what's wrong: I'm an idiot and removed the HAVE_INET6 check
together with defined (IPV6_MULTICAST_IF). The former is clearly
necessary, the latter probably not.
Will fix.
Rainer