Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 1996 16:09:37 -0600 (MDT)
From:      Nate Williams <nate@mt.sri.com>
To:        Sean Kelly <kelly@fsl.noaa.gov>
Cc:        Nate Williams <nate@mt.sri.com>, hackers@freebsd.org
Subject:   Re: C++ question
Message-ID:  <199610172209.QAA21050@rocky.mt.sri.com>
In-Reply-To: <3266AE63.41C67EA6@fsl.noaa.gov>
References:  <199610172119.PAA20617@rocky.mt.sri.com> <3266AE63.41C67EA6@fsl.noaa.gov>

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



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