Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 10 Jul 2003 12:12:58 +0100 From: Elfyn McBratney X-X-Sender: elfyn AT ellixia Reply-To: cygwin AT cygwin DOT com To: Martin Gainty cc: cygwin AT cygwin DOT com Subject: Re: namespace problems In-Reply-To: Message-ID: References: Mail-Followup-To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 9 Jul 2003, Martin Gainty wrote: > // > > /** @file stringfwd.h > * This is an internal header file, included by other library headers. > * You should not attempt to use it directly. > */ > > #ifndef _CPP_BITS_STRINGFWD_H > #define _CPP_BITS_STRINGFWD_H 1 > > #pragma GCC system_header > > #include > > namespace std > { > //other stuff commented out until namespace is fixed > } > > causes > error C2282: 'namespace' is followed by 'std' (missing ','?) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > What is causing this? That doesn't look like a GCC error to me. Make sure your using using g++ and the right file extension, too (e.g. '.cc'). Elfyn -- Elfyn McBratney, EMCB http://www.emcb.co.uk elfyn AT emcb DOT co DOT uk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/