summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-23 18:12:34 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-23 18:12:34 +0000
commit44e92faea0d31808e4138adc30e7d04331d942c0 (patch)
tree91868b9ea88bd03b57e8371274ea52d8a060adef /ace
parentbc4f0abec4084ff34679fef509e89b82a417e60b (diff)
downloadATCD-44e92faea0d31808e4138adc30e7d04331d942c0.tar.gz
Supress warning 4290 on MSVC.
Diffstat (limited to 'ace')
-rw-r--r--ace/OS.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ace/OS.h b/ace/OS.h
index 55339c9012e..d3d2095e826 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -1799,6 +1799,11 @@ struct stat
# if defined (ACE_HAS_EXCEPTIONS)
# define ACE_THROW_SPEC(X) throw X
+# if defined (ACE_WIN32)
+// @@ MSVC "supports" the keyword but doesn't implement it (Huh?).
+// Therefore, we simply supress the warning for now.
+# pragma warning( disable : 4290 )
+# endif /* ACE_WIN32 */
# else /* ! ACE_HAS_EXCEPTIONS */
# define ACE_THROW_SPEC(X)
# endif /* ! ACE_HAS_EXCEPTIONS */