From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29622 invoked by alias); 6 Oct 2006 21:01:05 -0000 Received: (qmail 29552 invoked by uid 48); 6 Oct 2006 21:00:57 -0000 Date: Fri, 06 Oct 2006 21:01:00 -0000 Message-ID: <20061006210057.29551.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/29365] Unnecessary anonymous namespace warnings In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jason at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg00534.txt.bz2 List-Id: ------- Comment #5 from jason at gcc dot gnu dot org 2006-10-06 21:00 ------- Yes, sorry, I should have said if foo::bar is used in multiple TUs, rather than foo itself. If foo::bar is defined in only one TU, and is used as an opaque type in other TUs, you're fine. Perhaps we should suppress this warning in the main input file. -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29365