Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2000 15:34:17 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        freebsd-hackers@freebsd.org
Subject:   c++ error
Message-ID:  <200009132234.PAA87368@bubba.whistle.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009132234.PAA87368>