[openssl-dev] interaction between --strict-warnings and disabled features

Benjamin Kaduk bkaduk at akamai.com
Mon Sep 14 15:43:23 UTC 2015


On 09/11/2015 12:46 PM, Salz, Rich wrote:
>> When I configure with --strict-warnings and, say, no-seed, my build fails due
>> to an empty compilation unit e_seed.c.
> Does just putting an extern declaration in the file work?  Or do we need something like "#if PEDANTIC" in apps/dsa.c, for example.

Duplicating the declaration of SEED_encrypt() (with or without an extern
keyword) at the end of the file, outside the #ifndef, lets the build
succeed.  But I think I agree with Kurt; the PEDANTIC thing makes it
more clear what is actually going on.

Thanks for the suggestions,

Ben


More information about the openssl-dev mailing list