On a second look, KSSL is doing some fairly odd things...

http://bugs.kde.org/show_bug.cgi?id=193215

It would still be nice to restore source level compatibility though

On Tuesday 19 May 2009 10.29:55 The default queue via RT wrote:
> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
>       "OpenSSL 1.0.0 betas break C++ support",
> a summary of which appears below.
>
> There is no need to reply to this message right now.  Your ticket has been
> assigned an ID of [openssl.org #1933].
>
> Please include the string:
>
>          [openssl.org #1933]
>
> in the subject line of all future correspondence about this issue. To do
> so, you may reply to this message.
>
>                         Thank you,
>                         [email protected]
>
> -------------------------------------------------------------------------
> Hi,
> OpenSSL 1.0.0 works great for all C applications using OpenSSL I've tried
> so far, but the changes break C++ applications rather badly.
>
> e.g. when compiling kdelibs, this happens:
>
> kopenssl.h:500: error: expected `;' before `(' token
> kopenssl.h:506: error: `STACK' has not been declared
> [...]
>
> This is simple to fix because it's just caused by STACK being renamed to
> _STACK, but after modifying the code to typedef _STACK STACK; for
> compatibility with OpenSSL 0.9.x, the real problems start:
>
> kssl.cpp:590: error: invalid conversion from `void*' to `STACK*'
> kssl.cpp:590: error:   initializing argument 1 of `STACK*
> KOpenSSLProxy::sk_dup(STACK*)'
>
> Without looking very deeply, my guess is that the new type checking system
> in OpenSSL isn't C++ compatible.


On a second look, KSSL is doing some fairly odd things...


http://bugs.kde.org/show_bug.cgi?id=193215


It would still be nice to restore source level compatibility though


On Tuesday 19 May 2009 10.29:55 The default queue via RT wrote:
> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
> "OpenSSL 1.0.0 betas break C++ support",
> a summary of which appears below.
>
> There is no need to reply to this message right now. Your ticket has been
> assigned an ID of [openssl.org #1933].
>
> Please include the string:
>
> [openssl.org #1933]
>
> in the subject line of all future correspondence about this issue. To do
> so, you may reply to this message.
>
> Thank you,
> [email protected]
>
> -------------------------------------------------------------------------
> Hi,
> OpenSSL 1.0.0 works great for all C applications using OpenSSL I've tried
> so far, but the changes break C++ applications rather badly.
>
> e.g. when compiling kdelibs, this happens:
>
> kopenssl.h:500: error: expected `;' before `(' token
> kopenssl.h:506: error: `STACK' has not been declared
> [...]
>
> This is simple to fix because it's just caused by STACK being renamed to
> _STACK, but after modifying the code to typedef _STACK STACK; for
> compatibility with OpenSSL 0.9.x, the real problems start:
>
> kssl.cpp:590: error: invalid conversion from `void*' to `STACK*'
> kssl.cpp:590: error: initializing argument 1 of `STACK*
> KOpenSSLProxy::sk_dup(STACK*)'
>
> Without looking very deeply, my guess is that the new type checking system
> in OpenSSL isn't C++ compatible.


Reply via email to