[openssl-dev] [openssl.org #4473] Compile errors when compiling with C++ compiler

Jeffrey Walton noloader at gmail.com
Thu Mar 24 07:57:57 UTC 2016


On Thu, Mar 24, 2016 at 3:41 AM, Richard Levitte via RT <rt at openssl.org> wrote:
> Vid Thu, 24 Mar 2016 kl. 07.23.46, skrev levitte:
>> Vid Ons, 23 Mar 2016 kl. 23.47.19, skrev noloader at gmail.com:
>> > I'm not sure if this is a supported configuration, but I'm guessing
>> > there are going to be users in the filed who find themselves in it,
>> > like http://stackoverflow.com/q/36188982.
>>
>> The actual issue there is that we haven't wrapped ossl_typ.h with 'extern
>> "C"'... That should be fixed.
>
> That was incorrect, btw. We do.
>
> However, the issue is still with a C++ program that includes our header files
> and gets errors from it. It has nothing to do with building OpenSSL using a C++
> compiler.

OK, thanks.

I also noticed 'make test' does not respect a CC override:

  ./config CC=clang
  make
  ...
  CC=clang++ make test

Is it being tested? If so, how is it being tested (I'd like to verify
the results)?

Jeff


More information about the openssl-dev mailing list