Commit 0b372780 authored by David E. DeMarle's avatar David E. DeMarle

silence warning about throws from XDMF_ERROR_WRAP

parent aaab95f2
...@@ -173,6 +173,8 @@ ...@@ -173,6 +173,8 @@
/* Compiler Optimizations will result in an 'internal compiler error', so turn them off */ /* Compiler Optimizations will result in an 'internal compiler error', so turn them off */
#pragma optimize("g", off) #pragma optimize("g", off)
#pragma warning( disable : 4297 ) /* __declspec(nothrow), throw(), noexcept(true), or noexcept was specified in the function */
#else /* _WIN32 */ #else /* _WIN32 */
/* We don't need to export/import since there are no dlls */ /* We don't need to export/import since there are no dlls */
#define XDMFCORE_EXPORT #define XDMFCORE_EXPORT
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
/* Compiler Optimizations will result in an 'internal compiler error', so turn them off */ /* Compiler Optimizations will result in an 'internal compiler error', so turn them off */
#pragma optimize("g", off) #pragma optimize("g", off)
#pragma warning( disable : 4297 ) /* __declspec(nothrow), throw(), noexcept(true), or noexcept was specified in the function */
#else /* _WIN32 */ #else /* _WIN32 */
/* We don't need to export/import since there are no dlls */ /* We don't need to export/import since there are no dlls */
......
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