[Openslp-devel] namespace problems
Malte Starostik
malte.starostik@t-online.de
Thu Jul 10 01:14:00 GMT 2003
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030710/a115b62f/attachment.sig>
More information about the Cygwin
mailing list