Mark, I tried to build my simple test app with a C++ compiler on HP-UX11i and received the following error:
Error 19: "/home/sambuild/imap-2007/c-client/imap4r1.h", line 71 #
Unexpected
'namespace'.
unsigned int namespace :1; /* server has NAMESPACE (RFC 2342)
*/
Please see the application and the Makefile attached.
An attempt to replace iostd.h with iostream.h and 'using namespace std;'
results in the following compiler error:
Error 24: "GetMail.c", line 258 # '<type name>' expected instead of
'namespace'.
if (LEVELNAMESPACE (stream)) puts (" Multiple namespaces
(RFC 2342)
^^^^^^^^^^^^^^
Error 187: "GetMail.c", line 258 # Referenced object '<type inserted by
compiler>' is not a member of struct imap_cap
["/home/sambuild/imap-2007/c-client/imap4r1.h", line 59].
if (LEVELNAMESPACE (stream)) puts (" Multiple namespaces
(RFC 2342)
Is there a known workaround for this problem? Can c-client be used with
C++ application?
Thank you,
Alla
Makefile_cpp
Description: Makefile_cpp
GetMail.c
Description: GetMail.c
_______________________________________________ Imap-uw mailing list [email protected] https://mailman1.u.washington.edu/mailman/listinfo/imap-uw
