From owner-freebsd-hackers Thu Oct 17 15:09:49 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA03482 for hackers-outgoing; Thu, 17 Oct 1996 15:09:49 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA03476 for ; Thu, 17 Oct 1996 15:09:45 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id QAA21050; Thu, 17 Oct 1996 16:09:37 -0600 (MDT) Date: Thu, 17 Oct 1996 16:09:37 -0600 (MDT) Message-Id: <199610172209.QAA21050@rocky.mt.sri.com> From: Nate Williams To: Sean Kelly Cc: Nate Williams , hackers@freebsd.org Subject: Re: C++ question In-Reply-To: <3266AE63.41C67EA6@fsl.noaa.gov> References: <199610172119.PAA20617@rocky.mt.sri.com> <3266AE63.41C67EA6@fsl.noaa.gov> Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Sean Kelly writes: > Nate Williams wrote: > > > fly:/tmp % CC +w -c grpdgram.cc > > "grpdgram.cc", line 12: Warning (Anachronism): foo::A is not accessible from foo::B. > > A bug in Sun's C++ compiler? Both foo::A and foo::B are in the > namespace generated by class foo, so they ought to be visible to each > other. I agree, but the compiler notes explicitly (well, not so explicitly) say that newer C++ standards don't allow this. Nate