Commit Graph

29 Commits

Author SHA1 Message Date
Jeffrey Walton
a89a27b72c
Attempt to keep Clang out of other compiler paths (GH #147) 2023-06-25 18:28:11 -04:00
Marcel Raad
c364032d4c
Disable uncaught_exception support for C++ 20 and later (PR #1187)
`std::uncaught_exception` was removed from C++ 20.
2023-01-23 08:26:30 -05:00
Jeffrey Walton
6911928ffd
Remove CRYPTOPP_NO_CXX11
It is no longer needed in 2021
2021-03-25 16:23:27 -04:00
Jeffrey Walton
f845316e95
Cleanup C++11 compile when CRYPTOPP_NO_CXX11 is in effect 2021-03-20 16:07:53 -04:00
Jeffrey Walton
ad17e0290a
Update documentation 2020-12-25 20:32:21 -05:00
Jeffrey Walton
8f1746790e
Update documentation 2020-12-25 13:45:42 -05:00
Jeffrey Walton
5bae476e5d
Fix spelling 2020-12-18 20:04:43 -05:00
Jeffrey Walton
aa4cf301b4
Tighten test for CRYPTOPP_CXX17_UNCAUGHT_EXCEPTIONS (GH #980)
Formerly we were just testing for __cpp_lib_uncaught_exceptions. Now we test for __cpp_lib_uncaught_exceptions >= 201411L
2020-11-30 17:59:07 -05:00
Jeffrey Walton
2c6e4b17d7
Use define CRYPTOPP_CXX11_STATIC_INIT name 2020-08-07 19:11:47 -04:00
Jeffrey Walton
96344bc767
Use CRYPTOPP_CXX11_STRONG_ENUM define name 2020-08-06 17:55:45 -04:00
Jeffrey Walton
64dd117f45
Update comments 2020-08-06 16:47:43 -04:00
Jeffrey Walton
da2c4994ff
Update comments 2020-08-06 15:41:19 -04:00
Jeffrey Walton
a046d249c1
Add CRYPTOPP_CXX11_INITIALIZER_LIST 2020-08-06 07:20:27 -04:00
Jeffrey Walton
baa3064c5d
Add CRYPTOPP_CXX98_UNCAUGHT_EXCEPTION define 2020-08-06 06:16:19 -04:00
Jeffrey Walton
3af3054e87
Use CRYPTOPP_CXX17_UNCAUGHT_EXCEPTIONS define name 2020-08-06 06:06:19 -04:00
Jeffrey Walton
3f73f709b8
Use CRYPTOPP_CXX11_ATOMIC define 2020-08-06 03:08:37 -04:00
Jeffrey Walton
66d7a2a604
Fix define CRYPTOPP_CXX17_STATIC_ASSERT name
That's a C++17 feature, not C++11
2020-08-05 23:29:10 -04:00
Jeffrey Walton
445243a9d1
Add missing C++ headers (GH #960) 2020-07-21 11:18:22 -04:00
Jeffrey Walton
d58a00ba21
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.
2019-10-20 21:46:05 -04:00
Jeffrey Walton
9d2cab7548
Add CRYPTOPP_CXX14 define 2019-07-22 01:08:12 -04:00
Jeffrey Walton
f5881d121a
CRYPTOPP_CXX11_STATIC_ASSERT -> CRYPTOPP_CXX14_STATIC_ASSERT
WHoops, this is a C++14 feature
2019-07-14 19:02:58 -04:00
Jeffrey Walton
002e794ae2
Use C++ static_assert from N3928 when available 2019-07-14 18:28:51 -04:00
Jeffrey Walton
6ae9c055cc
Move CRYPTOPP_CXX11 down in list of defines 2019-07-11 12:12:19 -04:00
Jeffrey Walton
f0d7917719
Move CRYPTOPP_NO_CXX11 and CRYPTOPP_NO_CXX17 to config_cxx.h
It looks like these two were overlooked during refactoring
2019-07-11 12:10:19 -04:00
Jeffrey Walton
fd7115fc8b
Remove duplicate CRYPTOPP_GCC_VERSION test 2019-07-06 08:06:00 -04:00
Jeffrey Walton
f0a2967191
Fix missing binary operator 2019-07-06 07:07:16 -04:00
Jeffrey Walton
37de652635
Use C++ feature test macros when available
There are not too many of them. __cpp_threadsafe_static_init may be useful for less frequently used compilers and platforms.
2019-07-06 07:03:26 -04:00
Jeffrey Walton
36e8dfeca8
Add define for C++11 deleted functions 2019-07-01 08:17:22 -04:00
Jeffrey Walton
c51f0ecbfd
Make config.h more Autoconf friendly (GH #835, PR #836) 2019-05-17 15:18:17 -04:00