VS2008 compilation problem

View: New views
2 Messages — Rating Filter:   Alert me  

VS2008 compilation problem

by Oliver Stöneberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Because of the IPv6 stuff I had to move on to VS2008 for XMail and I
wasn't able to compile it:

D:\xmail-1.26\win32ssl\include\openssl/ossl_typ.h(178) : error C2143:
syntax error : missing ')' before 'constant'
D:\xmail-1.26\win32ssl\include\openssl/ossl_typ.h(178) : error C2143:
syntax error : missing ';' before 'constant'
D:\xmail-1.26\win32ssl\include\openssl/ossl_typ.h(178) : error C2040:
'LPCSTR' : 'ocsp_response_st' differs in levels of indirection from
'const CHAR *'
D:\xmail-1.26\win32ssl\include\openssl/ossl_typ.h(178) : error C2059:
syntax error : ')'

Just commenting out the typedef involving "ocsp_response_st" fixes
the problem.

I also recognised the XMAIL_OS define in Makefile.win, which appears
to have no purpose at all.
_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail

Re: VS2008 compilation problem

by Davide Libenzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 16 Oct 2009, Oliver Stöneberg wrote:

> Because of the IPv6 stuff I had to move on to VS2008 for XMail and I
> wasn't able to compile it:
>
> D:\xmail-1.26\win32ssl\include\openssl/ossl_typ.h(178) : error C2143:
> syntax error : missing ')' before 'constant'
> D:\xmail-1.26\win32ssl\include\openssl/ossl_typ.h(178) : error C2143:
> syntax error : missing ';' before 'constant'
> D:\xmail-1.26\win32ssl\include\openssl/ossl_typ.h(178) : error C2040:
> 'LPCSTR' : 'ocsp_response_st' differs in levels of indirection from
> 'const CHAR *'
> D:\xmail-1.26\win32ssl\include\openssl/ossl_typ.h(178) : error C2059:
> syntax error : ')'
>
> Just commenting out the typedef involving "ocsp_response_st" fixes
> the problem.
Known issue with OpenSSL and Windows SDK:

http://www.mail-archive.com/openssl-dev@.../msg24079.html



- Davide


_______________________________________________
xmail mailing list
xmail@...
http://xmailserver.org/mailman/listinfo/xmail