From owner-freebsd-current Tue Apr 30 9:24: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id C8B4337B41C; Tue, 30 Apr 2002 09:23:51 -0700 (PDT) Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020430162350.UPCZ4412.rwcrmhc52.attbi.com@bmah.dyndns.org>; Tue, 30 Apr 2002 16:23:50 +0000 Received: from intruder.bmah.org (localhost [127.0.0.1]) by bmah.dyndns.org (8.12.3/8.12.3) with ESMTP id g3UGNocB034626; Tue, 30 Apr 2002 09:23:50 -0700 (PDT) (envelope-from bmah@intruder.bmah.org) Received: (from bmah@localhost) by intruder.bmah.org (8.12.3/8.12.3/Submit) id g3UGNnNw034625; Tue, 30 Apr 2002 09:23:49 -0700 (PDT) Message-Id: <200204301623.g3UGNnNw034625@intruder.bmah.org> X-Mailer: exmh version 2.5+ 20020416 with nmh-1.0.4 To: freebsd-current@freebsd.org Cc: bmah@freebsd.org, "Troy Dixler" Subject: IPv6 header breakage on -CURRENT? From: bmah@freebsd.org (Bruce A. Mah) Reply-To: bmah@freebsd.org X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 30 Apr 2002 09:23:49 -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi folks-- It's been pointed out to me that a program I wrote (net/pchar in ports) can't compile on -CURRENT. After a little poking around, I've narrowed the problem down to the following test case: tomcat:bmah% cat foo.cc #include #include #include #include #include #include int main() { } tomcat:bmah% c++ foo.cc In file included from foo.cc:7: /usr/include/netinet/icmp6.h:168: ANSI C++ forbids data member `mld6_hdr' with same name as enclosing class tomcat:bmah% cp foo.cc foo.c tomcat:bmah% cc foo.c This shows up on 25 April -CURRENT, but not on 20 March -CURRENT or, apparently, not what the -CURRENT ports cluster is running (5.0-DP1?). So...is there some reason I shouldn't be able to use from a C++ program, or is something broken? Thanks! Bruce. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message