Crypto++ and C++17 support

17 views
Skip to first unread message

Jeffrey Walton

unread,
Jun 15, 2016, 6:36:34 PM6/15/16
to Crypto++ Users
Hi Everyone,

We are now supporting C++17. C++17 availability and compiler support depends on the platform and compiler. It appears to be GCC 5.0; and I'm not sure what Clang version has it. LLVM and Apple use different version schemes, so it will show up roughly at the same time under two different versions.

The test script includes a number of generic tests centered around C++17 (http://github.com/weidai11/cryptopp/blob/master/cryptest.sh). Please report any problems you see with it.

If interested, you can see a summary of the tests being performed with:

$ egrep '(Testing: |Compiler: )' cryptest-result.txt
Compiler: g++ (Debian 4.9.2-10) 4.9.2
Testing: debug, default CXXFLAGS
Testing: release, default CXXFLAGS
Testing: debug, default CXXFLAGS, DISABLE_ASM
Testing: release, default CXXFLAGS, DISABLE_ASM
Testing: debug, c++03
Testing: release, c++03
Testing: debug, c++11
Testing: release, c++11
Testing: debug, c++14
Testing: release, c++14
Testing: debug, MAINTAIN_BACKWARDS_COMPATIBILITY
Testing: release, MAINTAIN_BACKWARDS_COMPATIBILITY
Testing: debug, INIT_PRIORITY
Testing: release, INIT_PRIORITY
Testing: release, NO_UNALIGNED_DATA_ACCESS
Testing: release, NO_BACKWARDS_COMPATIBILITY_562
Testing: debug, NO_OS_DEPENDENCE
Testing: release, NO_OS_DEPENDENCE
Testing: debug, default CXXFLAGS, USE_FIPS_202_SHA3
Testing: release, default CXXFLAGS, USE_FIPS_202_SHA3
Testing: debug, ld-gold linker
Testing: release, ld-gold linker
Testing: debug, -O3 optimizations
Testing: release, -O3 optimizations
Testing: debug, -Os optimizations
Testing: release, -Os optimizations
Testing: debug, dead code strip
Testing: release, dead code strip
Testing: debug, c++03, UBsan
Testing: release, c++03, UBsan
Testing: debug, c++03, Asan
Testing: release, c++03, Asan
Testing: c++11, UBsan
Testing: c++11, Asan
Testing: AES, RDRAND and RDSEED
Testing: Benchmarks, c++03
Testing: Benchmarks, c++11
Testing: Benchmarks, c++14
Testing: Valgrind, c++03
Testing: Valgrind, c++11
Testing: Valgrind, c++14
Testing: Clang

Reply all
Reply to author
Forward
0 new messages