diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-10-20 21:46:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-20 21:46:05 -0400 |
commit | d58a00ba21e7dc6d6dbaab3dc13159692de66096 (patch) | |
tree | 3bb643ce6c119528a64f867b78996abe422cea32 /config_os.h | |
parent | fea35d829ea2a7c9a1d874132d72a8cfc184d9b3 (diff) | |
download | cryptopp-git-d58a00ba21e7dc6d6dbaab3dc13159692de66096.tar.gz |
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.
Diffstat (limited to 'config_os.h')
-rw-r--r-- | config_os.h | 9 |
1 files changed, 9 insertions, 0 deletions
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
|