namespace problems
Elfyn McBratney
elfyn@emcb.co.uk
Thu Jul 10 11:35:00 GMT 2003
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@emcb.co.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/
More information about the Cygwin
mailing list