From d58a00ba21e7dc6d6dbaab3dc13159692de66096 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 20 Oct 2019 21:46:05 -0400 Subject: Cleanup config_*.h files, update travis.yml file (PR #898) This started as an update to travis.yml to support ARM64 testing. Autotools had a failure under Clang, and it required a modification to config_asm.h. We eventually guarded the availability defines in CRYPTOPP_DISABLE_ASM. --- config_os.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config_os.h') diff --git a/config_os.h b/config_os.h index 87b0a52a..1594e0ee 100644 --- a/config_os.h +++ b/config_os.h @@ -17,6 +17,15 @@ #include "config_ver.h" +// It is OK to remove the hard stop below, but you are on your own. +// After building the library be sure to run self tests described +// https://www.cryptopp.com/wiki/Release_Process#Self_Tests +// Some relevant bug reports can be found at: +// * Clang: http://github.com/weidai11/cryptopp/issues/147 +#if (defined(_MSC_VER) && defined(__clang__) && !(defined( __clang_analyzer__))) +# error: "Unsupported configuration" +#endif + // Windows platform #if defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__) #define CRYPTOPP_WIN32_AVAILABLE -- cgit v1.2.1