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

Richard Levitte levitte at openssl.org
Thu Mar 24 08:11:01 UTC 2016

In message <CAH8yC8ktD+99h5=TzzyRHVSEvabF4exBHQ55rwNGRzxdhUKwug at mail.gmail.com> on Thu, 24 Mar 2016 03:57:57 -0400, Jeffrey Walton <noloader at gmail.com> said:

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


noloader>   ./config CC=clang

How did you get that to work?  I get this:

    : ; ./config CC=clang
    Operating system: x86_64-whatever-linux2
    Configuring for linux-x86_64
    Configuring OpenSSL version 1.1.0-pre5-dev (0x0x10100005L)
    target already defined - linux-x86_64 (offending arg: CC=clang)

noloader>   make
noloader>   ...
noloader>   CC=clang++ make test

You might want to try this:

    make CC=clang++ test

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

No, we have no test where we intermix C and C++ in our builds.

Richard Levitte         levitte at openssl.org
OpenSSL Project         http://www.openssl.org/~levitte/

More information about the openssl-dev mailing list