This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Trying to Eliminate Warning Message
On Wed, May 22, 2002 at 10:49:37PM +0100, Neil Booth wrote:
> Zack Weinberg wrote:-
>
> > Well, yeah, but here we have someone with a legit use-case where the
> > warning is a problem, and no one has ever complained about the warning
> > being missing...
>
> Actually, this case is not a good example, because a namespace is the
> one case that can be closed and re-opened at will. In other words,
> there is no good reason for not closing the namespace in header1
> and re-opening it in header2.
My understanding was that Bill had a header that contained nothing
besides "namespace foo {" -- it was being used like __BEGIN_DECLS in
glibc.
zw