delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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 <elfyn AT emcb DOT co DOT uk> |
X-X-Sender: | elfyn AT ellixia |
Reply-To: | cygwin AT cygwin DOT com |
To: | Martin Gainty <mgainty AT hotmail DOT com> |
cc: | cygwin AT cygwin DOT com |
Subject: | Re: namespace problems |
In-Reply-To: | <Law10-OE61rdusluCBc00027f42@hotmail.com> |
Message-ID: | <Pine.CYG.4.55.0307101211330.1464@ellixia> |
References: | <Law10-OE61rdusluCBc00027f42 AT hotmail DOT com> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
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 <c++config.h> > > 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |