From owner-freebsd-hackers Wed Sep 13 15:34:41 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (Postfix) with ESMTP id 53FFD37B424 for ; Wed, 13 Sep 2000 15:34:39 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.10.0/8.10.0) id e8DMYcs08633 for ; Wed, 13 Sep 2000 15:34:38 -0700 (PDT) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma008629; Wed, 13 Sep 2000 15:34:17 -0700 Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.3) id PAA87368 for freebsd-hackers@freebsd.org; Wed, 13 Sep 2000 15:34:17 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200009132234.PAA87368@bubba.whistle.com> Subject: c++ error To: freebsd-hackers@freebsd.org Date: Wed, 13 Sep 2000 15:34:17 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This happens on 4.1-RELEASE: $ c++ ... foo.cc /usr/include/netinet/in.h:303: ANSI C++ forbids data member `ip_opts' with same name as enclosing class *** Error code 1 Any ideas? I tried __BEGIN_DECLS and __END_DECLS but that didn't help. I'm not a C++ expert. $ c++ --version $ 2.95.2 Thanks, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message