Commit d4cecd6a authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'warning-suppressions'

a5248df0 CTestCustom: Suppress PGI Community Edition compiler license warnings
b019deea

 RegularExpression: Suppress VS 2013 warning C4351
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !157
parents 846a83f3 a5248df0
......@@ -12,3 +12,7 @@
list(APPEND CTEST_CUSTOM_MEMCHECK_IGNORE
kwsys.testProcess-10
)
list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
"LICENSE WARNING"
)
......@@ -66,6 +66,13 @@ private:
const char* searchstring;
};
#ifdef _MSC_VER
# pragma warning(push)
# if _MSC_VER < 1900
# pragma warning(disable : 4351) /* new behavior */
# endif
#endif
/**
* \brief Creates an invalid match object
*/
......@@ -76,6 +83,10 @@ inline RegularExpressionMatch::RegularExpressionMatch()
{
}
#ifdef _MSC_VER
# pragma warning(pop)
#endif
/**
* \brief Returns true if the match pointers are valid
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment