From owner-freebsd-current Thu Dec 31 01:46:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA12817 for freebsd-current-outgoing; Thu, 31 Dec 1998 01:46:31 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zippy.dyn.ml.org (spain-24.ppp.hooked.net [206.169.228.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA12810 for ; Thu, 31 Dec 1998 01:46:28 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.9.1/8.8.8) with ESMTP id BAA48722 for ; Thu, 31 Dec 1998 01:49:12 -0800 (PST) (envelope-from garbanzo@hooked.net) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Thu, 31 Dec 1998 01:49:11 -0800 (PST) From: Alex Zepeda X-Sender: garbanzo@zippy.dyn.ml.org To: current Subject: egcs chokes on netinet/in.h.. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG /usr/include/netinet/in.h:291: ANSI C++ forbids data member `ip_opts' with same name as enclosing class In upgrading my egcs (to get around some rather annoying bugs), this seems to have been changed from a warning to a fatal error. Is there any possibility that the ip_opts member could be named _ip_opts or somesuch? struct ip_opts { struct in_addr ip_dst; /* first hop, 0 w/o src rt */ char ip_opts[40]; /* actually variable in size */ }; - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message