This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Openslp-devel] namespace problems


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

Attachment: pgp00000.pgp
Description: signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]