This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Trying to Eliminate Warning Message
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.
But let's kill the code anyway.
Neil.