From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12247 invoked by alias); 31 Jan 2008 06:38:54 -0000 Received: (qmail 12166 invoked by uid 48); 31 Jan 2008 06:38:08 -0000 Date: Thu, 31 Jan 2008 08:22:00 -0000 Message-ID: <20080131063808.12165.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/35000] #include sometimes fails in namespaces In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mw268 at bath dot ac dot uk" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg03738.txt.bz2 ------- Comment #2 from mw268 at bath dot ac dot uk 2008-01-31 06:38 ------- (In reply to comment #1) > This is working as designed. Why are you doing #include inside a namespace > anyways? > I was using it to enclose windows.h in a namespace win to avoid potential problems and ended up causing one. The reason I thought I was a bug was because it works if the #include is before the namespace. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35000