diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2017-06-02 05:06:56 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2017-06-02 05:06:56 -0400 |
| commit | c3871aec948013c1a4d5613050c659520f59e2e4 (patch) | |
| tree | e225eb08c119149fbd211a578c2383f8b5c761bf /config.h | |
| parent | dd42fa3ef63ee2ac8d335c3e261aa7c4d030d292 (diff) | |
| download | cryptopp-git-c3871aec948013c1a4d5613050c659520f59e2e4.tar.gz | |
Revert "Clear Visual Studio warnings (Issue 412)"
This reverts commit eb3b27a6a543. The change broke GCC 4.8 and unknown version of Clang on OS X. UB reported the OS X break, and JW found duplicated the break on a ARM CubieTruck with GCC 4.8.
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -732,8 +732,6 @@ NAMESPACE_END #define CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS extern class CRYPTOPP_DLL
#elif defined(__BORLANDC__) || defined(__SUNPRO_CC)
#define CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS template class CRYPTOPP_DLL
-#elif !defined(CRYPTOPP_IMPORTS) && !defined(CRYPTOPP_EXPORTS)
-#define CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS template class CRYPTOPP_DLL
#else
#define CRYPTOPP_EXTERN_DLL_TEMPLATE_CLASS extern template class CRYPTOPP_DLL
#endif
@@ -748,8 +746,6 @@ NAMESPACE_END #define CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS extern class
#elif defined(__BORLANDC__) || defined(__SUNPRO_CC)
#define CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS template class
-#elif !defined(CRYPTOPP_IMPORTS) && !defined(CRYPTOPP_EXPORTS)
-#define CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS template class
#else
#define CRYPTOPP_EXTERN_STATIC_TEMPLATE_CLASS extern template class
#endif
|
