diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-01-22 08:12:45 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-01-22 11:13:01 +0100 |
commit | 6859bcfa1cc6fb52bfc5d48cdbc5d27999aa87c5 (patch) | |
tree | cad2915aace7912d651c1fa743b891b537a2621b /src/libs/3rdparty/botan | |
parent | d6919b1557dfaa91e820dccb02f4dbed5aa2db31 (diff) |
Botan: Fix MSVC warning
botan.cpp:35140: warning: C4297: 'Botan::bigint_sub2_rev' : function assumed not to throw an exception but does
The function is extern "C" and /EHc was specified
-EHsc (specified in Qt mkspecs) means that the compiler can assume that
extern "C" functions do not throw exceptions.
-EHs is equivalent, only without this assumption
Change-Id: I5eae79bfbd647c296626c03636775f6057faf385
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/libs/3rdparty/botan')
-rw-r--r-- | src/libs/3rdparty/botan/botan.pri | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/3rdparty/botan/botan.pri b/src/libs/3rdparty/botan/botan.pri index 7998aa95a8b..ee4d04a7d98 100644 --- a/src/libs/3rdparty/botan/botan.pri +++ b/src/libs/3rdparty/botan/botan.pri @@ -35,6 +35,7 @@ win32 { BOTAN_HAS_MUTEX_WIN32 win32-msvc* { + QMAKE_CXXFLAGS_EXCEPTIONS_ON = -EHs QMAKE_CXXFLAGS += -wd4251 -wd4290 -wd4250 DEFINES += BOTAN_BUILD_COMPILER_IS_MSVC BOTAN_TARGET_OS_HAS_GMTIME_S _SCL_SECURE_NO_WARNINGS } else { |