Subject: Re: [Openslp-devel] namespace problems
From: Malte Starostik <[email-masked]>
To: "Martin Gainty" <[email-masked]>, <[email-masked]>
Cc: <[email-masked]>
Date: Wed, 9 Jul 2003 23:35:14 +0200

On Wednesday 09 July 2003 22:43, 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?

"error CXXXX" looks like the MS compiler to me? Are you trying to compile a 
GNU libstdc++ header with MSVC?
Looks like you're trying to compile C++ sources in C mode.
Anyway, what has this got to do with OpenSLP?

Regards,
-Malte