summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-11-09 20:47:31 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-11-09 20:47:31 +0000
commit4fc9b598a19ecec585d46e6ff4a71f14596d0384 (patch)
tree32b20ac2791e4c36ca07fbce9ecb3ec1814854d9 /TAO/tao
parent4b8d556f2f28e7e6edbc04a7591a494f94503371 (diff)
downloadATCD-4fc9b598a19ecec585d46e6ff4a71f14596d0384.tar.gz
ChangeLogTag:Tue Nov 9 14:34:17 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/BoundsC.h3
-rw-r--r--TAO/tao/Buffering_Constraint_Policy.h3
-rw-r--r--TAO/tao/CONV_FRAMEC.h3
-rw-r--r--TAO/tao/CONV_FRAMES.h3
-rw-r--r--TAO/tao/CONV_FRAMES_T.h3
-rw-r--r--TAO/tao/Client_Priority_Policy.h3
-rw-r--r--TAO/tao/CurrentC.h3
-rw-r--r--TAO/tao/DomainC.h5
-rw-r--r--TAO/tao/DomainS_T.h3
-rw-r--r--TAO/tao/DynAnyC.h3
-rw-r--r--TAO/tao/IOPC.h3
-rw-r--r--TAO/tao/IOPS.h3
-rw-r--r--TAO/tao/IOPS_T.h3
-rw-r--r--TAO/tao/IORC.h3
-rw-r--r--TAO/tao/IORS.h3
-rw-r--r--TAO/tao/InconsistentTypeCodeC.h3
-rw-r--r--TAO/tao/InterceptorC.h3
-rw-r--r--TAO/tao/InterceptorS.h3
-rw-r--r--TAO/tao/InterfaceC.h3
-rw-r--r--TAO/tao/MessagingC.h3
-rw-r--r--TAO/tao/MessagingS.h3
-rw-r--r--TAO/tao/MessagingS_T.h3
-rw-r--r--TAO/tao/Messaging_Policy_i.h3
-rw-r--r--TAO/tao/ObjectIDList.h3
-rw-r--r--TAO/tao/POAC.h3
-rw-r--r--TAO/tao/POAS.h3
-rw-r--r--TAO/tao/POA_CORBA.h5
-rw-r--r--TAO/tao/PollableC.h3
-rw-r--r--TAO/tao/PollableS.h3
-rw-r--r--TAO/tao/PollableS_T.h3
-rw-r--r--TAO/tao/Services.h3
-rw-r--r--TAO/tao/TAOC.h3
-rw-r--r--TAO/tao/TAOS.h3
-rw-r--r--TAO/tao/TAOS_T.h3
-rw-r--r--TAO/tao/TimeBaseC.h3
-rw-r--r--TAO/tao/TimeBaseS_T.h3
-rw-r--r--TAO/tao/WrongTransactionC.h3
-rw-r--r--TAO/tao/corbafwd.h5
38 files changed, 83 insertions, 37 deletions
diff --git a/TAO/tao/BoundsC.h b/TAO/tao/BoundsC.h
index b13ef2062a4..0aaeb7a9b15 100644
--- a/TAO/tao/BoundsC.h
+++ b/TAO/tao/BoundsC.h
@@ -28,6 +28,7 @@
# define TAO_EXPORT_NESTED_MACRO
#endif /* TAO_EXPORT_NESTED_CLASSES */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -74,7 +75,7 @@ CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::Bounds &);
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/Buffering_Constraint_Policy.h b/TAO/tao/Buffering_Constraint_Policy.h
index baabc26dfa1..4d7734d69cc 100644
--- a/TAO/tao/Buffering_Constraint_Policy.h
+++ b/TAO/tao/Buffering_Constraint_Policy.h
@@ -31,6 +31,7 @@
#include "tao/TAOS.h"
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -82,7 +83,7 @@ private:
};
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_HAS_CORBA_MESSAGING */
diff --git a/TAO/tao/CONV_FRAMEC.h b/TAO/tao/CONV_FRAMEC.h
index 0c94e90fb07..0ba125bca00 100644
--- a/TAO/tao/CONV_FRAMEC.h
+++ b/TAO/tao/CONV_FRAMEC.h
@@ -32,6 +32,7 @@
#endif
#define TAO_EXPORT_MACRO TAO_Export
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -362,7 +363,7 @@ CORBA::Boolean TAO_Export operator>> (TAO_InputCDR &, CONV_FRAME::CodeSetContext
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_CONV_FRAMEC_H */
diff --git a/TAO/tao/CONV_FRAMES.h b/TAO/tao/CONV_FRAMES.h
index 2a84fb56ed5..3bf3c6e9480 100644
--- a/TAO/tao/CONV_FRAMES.h
+++ b/TAO/tao/CONV_FRAMES.h
@@ -27,6 +27,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -42,7 +43,7 @@ TAO_NAMESPACE_CLOSE
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_CONV_FRAMES_H */
diff --git a/TAO/tao/CONV_FRAMES_T.h b/TAO/tao/CONV_FRAMES_T.h
index ef1f07d9e0b..dc201a3a1c6 100644
--- a/TAO/tao/CONV_FRAMES_T.h
+++ b/TAO/tao/CONV_FRAMES_T.h
@@ -21,6 +21,7 @@
#define TAO_CONV_FRAMES_T_H
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -40,7 +41,7 @@
#endif /* defined REQUIRED PRAGMA */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_CONV_FRAMES_T_H */
diff --git a/TAO/tao/Client_Priority_Policy.h b/TAO/tao/Client_Priority_Policy.h
index f7696537cca..230e70d56b3 100644
--- a/TAO/tao/Client_Priority_Policy.h
+++ b/TAO/tao/Client_Priority_Policy.h
@@ -33,6 +33,7 @@
#include "tao/TAOS.h"
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -91,7 +92,7 @@ private:
};
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_HAS_CORBA_MESSAGING */
diff --git a/TAO/tao/CurrentC.h b/TAO/tao/CurrentC.h
index f8254e7fd60..24c22b9a46d 100644
--- a/TAO/tao/CurrentC.h
+++ b/TAO/tao/CurrentC.h
@@ -37,6 +37,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -152,7 +153,7 @@ CORBA::Boolean operator>>= (const CORBA::Any &, CORBA_Current *&);
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_IDL_CURRENTC_H */
diff --git a/TAO/tao/DomainC.h b/TAO/tao/DomainC.h
index a627cf9fd23..631c9b0b288 100644
--- a/TAO/tao/DomainC.h
+++ b/TAO/tao/DomainC.h
@@ -25,6 +25,7 @@
#endif
#define TAO_EXPORT_MACRO TAO_Export
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -330,4 +331,8 @@ CORBA::Boolean TAO_Export operator>> (TAO_InputCDR &,
#include "tao/DomainC.i"
#endif /* defined INLINE */
+#if defined(_MSC_VER)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
#endif /* TAO_IDL_DOMAINC_H */
diff --git a/TAO/tao/DomainS_T.h b/TAO/tao/DomainS_T.h
index 64034da6ef3..1c5f4f1c8e5 100644
--- a/TAO/tao/DomainS_T.h
+++ b/TAO/tao/DomainS_T.h
@@ -12,6 +12,7 @@
#define _TAO_IDL_DOMAINS_T_H_
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -31,7 +32,7 @@
#endif /* defined REQUIRED PRAGMA */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/DynAnyC.h b/TAO/tao/DynAnyC.h
index 575c3e77419..201ca0d3323 100644
--- a/TAO/tao/DynAnyC.h
+++ b/TAO/tao/DynAnyC.h
@@ -43,6 +43,7 @@
#endif
#define TAO_EXPORT_MACRO
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -1545,7 +1546,7 @@ extern CORBA::TypeCode_ptr _tc_CORBA_DynArray;
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_HAS_MINIMUM_CORBA */
diff --git a/TAO/tao/IOPC.h b/TAO/tao/IOPC.h
index 3d81a5d618f..3b4e8633647 100644
--- a/TAO/tao/IOPC.h
+++ b/TAO/tao/IOPC.h
@@ -34,6 +34,7 @@
#endif
#define TAO_EXPORT_MACRO TAO_Export
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -663,7 +664,7 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_IOPC_H */
diff --git a/TAO/tao/IOPS.h b/TAO/tao/IOPS.h
index 18a13f21d11..118e42b2e6e 100644
--- a/TAO/tao/IOPS.h
+++ b/TAO/tao/IOPS.h
@@ -27,6 +27,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -42,7 +43,7 @@ TAO_NAMESPACE_CLOSE
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_IOPS_H */
diff --git a/TAO/tao/IOPS_T.h b/TAO/tao/IOPS_T.h
index 9d8f8562cd2..681384c987d 100644
--- a/TAO/tao/IOPS_T.h
+++ b/TAO/tao/IOPS_T.h
@@ -21,6 +21,7 @@
#define TAO_IOPS_T_H
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -40,7 +41,7 @@
#endif /* defined REQUIRED PRAGMA */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_IOPS_T_H */
diff --git a/TAO/tao/IORC.h b/TAO/tao/IORC.h
index 0ace82810f7..893f04bec2a 100644
--- a/TAO/tao/IORC.h
+++ b/TAO/tao/IORC.h
@@ -29,6 +29,7 @@
#endif
#define TAO_EXPORT_MACRO
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -515,7 +516,7 @@ operator>> (
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/IORS.h b/TAO/tao/IORS.h
index fa05357b5ce..d3acf9b10cc 100644
--- a/TAO/tao/IORS.h
+++ b/TAO/tao/IORS.h
@@ -20,6 +20,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -207,7 +208,7 @@ TAO_NAMESPACE_CLOSE
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/InconsistentTypeCodeC.h b/TAO/tao/InconsistentTypeCodeC.h
index dcdcf0b9865..f6f54539cce 100644
--- a/TAO/tao/InconsistentTypeCodeC.h
+++ b/TAO/tao/InconsistentTypeCodeC.h
@@ -40,6 +40,7 @@
#endif
#define TAO_EXPORT_MACRO
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -77,7 +78,7 @@ public:
#endif /* end #if !defined */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_HAS_MINIMUM_CORBA */
diff --git a/TAO/tao/InterceptorC.h b/TAO/tao/InterceptorC.h
index 8c93a30c55b..d52f334d711 100644
--- a/TAO/tao/InterceptorC.h
+++ b/TAO/tao/InterceptorC.h
@@ -29,6 +29,7 @@
# define TAO_EXPORT_NESTED_MACRO TAO_Export
#endif /* TAO_EXPORT_NESTED_CLASSES */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -739,7 +740,7 @@ CORBA::Boolean TAO_Export operator>>= (const CORBA::Any &, PortableInterceptor::
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/InterceptorS.h b/TAO/tao/InterceptorS.h
index e59d7db8941..3fc9ea36b42 100644
--- a/TAO/tao/InterceptorS.h
+++ b/TAO/tao/InterceptorS.h
@@ -18,6 +18,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -437,7 +438,7 @@ TAO_NAMESPACE_CLOSE
#endif /* TAO_HAS_INTERCEPTORS */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/InterfaceC.h b/TAO/tao/InterfaceC.h
index 7f78630aa24..093fd789d0e 100644
--- a/TAO/tao/InterfaceC.h
+++ b/TAO/tao/InterfaceC.h
@@ -35,6 +35,7 @@
# define TAO_EXPORT_NESTED_MACRO
#endif /* TAO_EXPORT_NESTED_CLASSES */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -8537,7 +8538,7 @@ operator>> (TAO_InputCDR &, CORBA::ValueBoxDef_ptr &);
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /*TAO_HAS_INTERFACE_REPOSITORY */
diff --git a/TAO/tao/MessagingC.h b/TAO/tao/MessagingC.h
index 020f51bf763..bccba0fbb0e 100644
--- a/TAO/tao/MessagingC.h
+++ b/TAO/tao/MessagingC.h
@@ -49,6 +49,7 @@
#endif
#define TAO_EXPORT_MACRO TAO_Export
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -2160,7 +2161,7 @@ CORBA::Boolean TAO_Export operator>> (TAO_InputCDR &, Messaging::Poller_ptr &);
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_HAS_CORBA_MESSAGING */
diff --git a/TAO/tao/MessagingS.h b/TAO/tao/MessagingS.h
index 7cb39762222..d959ecdd9b1 100644
--- a/TAO/tao/MessagingS.h
+++ b/TAO/tao/MessagingS.h
@@ -24,6 +24,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -2044,7 +2045,7 @@ TAO_NAMESPACE_CLOSE
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_HAS_CORBA_MESSAGING */
diff --git a/TAO/tao/MessagingS_T.h b/TAO/tao/MessagingS_T.h
index 020b5cba536..c5af969fae1 100644
--- a/TAO/tao/MessagingS_T.h
+++ b/TAO/tao/MessagingS_T.h
@@ -12,6 +12,7 @@
#define _TAO_IDL_MESSAGINGS_T_H_
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -31,7 +32,7 @@
#endif /* defined REQUIRED PRAGMA */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/Messaging_Policy_i.h b/TAO/tao/Messaging_Policy_i.h
index 632bf105071..9f5e7c6ce46 100644
--- a/TAO/tao/Messaging_Policy_i.h
+++ b/TAO/tao/Messaging_Policy_i.h
@@ -27,6 +27,7 @@
#include "tao/MessagingS.h"
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -142,7 +143,7 @@ private:
#endif /* __ACE_INLINE__ */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_HAS_CORBA_MESSAGING */
diff --git a/TAO/tao/ObjectIDList.h b/TAO/tao/ObjectIDList.h
index 010df446d42..07836fee86b 100644
--- a/TAO/tao/ObjectIDList.h
+++ b/TAO/tao/ObjectIDList.h
@@ -26,6 +26,7 @@
#endif
#define TAO_EXPORT_MACRO
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -136,7 +137,7 @@ CORBA::Boolean TAO_Export operator>> (TAO_InputCDR &, CORBA_ORB_ObjectIdList &);
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/POAC.h b/TAO/tao/POAC.h
index d38f42707ec..ec9d541cf0f 100644
--- a/TAO/tao/POAC.h
+++ b/TAO/tao/POAC.h
@@ -34,6 +34,7 @@
#endif
#define TAO_EXPORT_MACRO TAO_Export
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -2405,6 +2406,6 @@ CORBA::Boolean TAO_Export operator>> (TAO_InputCDR &, PortableServer::Current::N
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_IDL_POAC_H */
diff --git a/TAO/tao/POAS.h b/TAO/tao/POAS.h
index a932adf9f94..e535cbc7366 100644
--- a/TAO/tao/POAS.h
+++ b/TAO/tao/POAS.h
@@ -32,6 +32,7 @@
#endif
#define TAO_EXPORT_MACRO TAO_Export
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -1213,7 +1214,7 @@ TAO_NAMESPACE_CLOSE
#endif // defined INLINE
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_IDL_POAS_H */
diff --git a/TAO/tao/POA_CORBA.h b/TAO/tao/POA_CORBA.h
index 46779bedc9c..bb5ce1bd920 100644
--- a/TAO/tao/POA_CORBA.h
+++ b/TAO/tao/POA_CORBA.h
@@ -44,6 +44,7 @@
#endif /* TAO_HAS_AMI_POLLER */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -1792,13 +1793,13 @@ private:
#endif /* ! defined TAO_HAS_MINIMUM_CORBA */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
};
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_IDL_POA_CORBA_H */
diff --git a/TAO/tao/PollableC.h b/TAO/tao/PollableC.h
index 9cf9f68fdf0..3b3c7584bde 100644
--- a/TAO/tao/PollableC.h
+++ b/TAO/tao/PollableC.h
@@ -38,6 +38,7 @@
#endif
#define TAO_EXPORT_MACRO TAO_Export
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -434,7 +435,7 @@ CORBA::Boolean TAO_Export operator>> (TAO_InputCDR &, CORBA_PollableSet::Unknown
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_AMI_POLLER */
diff --git a/TAO/tao/PollableS.h b/TAO/tao/PollableS.h
index d1a1ca80da8..59ea605041b 100644
--- a/TAO/tao/PollableS.h
+++ b/TAO/tao/PollableS.h
@@ -31,6 +31,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -230,7 +231,7 @@ TAO_NAMESPACE_CLOSE
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_AMI_POLLER */
diff --git a/TAO/tao/PollableS_T.h b/TAO/tao/PollableS_T.h
index 53df91ebb91..0bb857546c2 100644
--- a/TAO/tao/PollableS_T.h
+++ b/TAO/tao/PollableS_T.h
@@ -12,6 +12,7 @@
#define _TAO_IDL_POLLABLES_T_H_
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -31,7 +32,7 @@
#endif /* defined REQUIRED PRAGMA */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/Services.h b/TAO/tao/Services.h
index 5dd5a25cc91..7b4efa4dcd6 100644
--- a/TAO/tao/Services.h
+++ b/TAO/tao/Services.h
@@ -25,6 +25,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -539,7 +540,7 @@ CORBA::Boolean operator>> (TAO_InputCDR &, CORBA_ServiceInformation::_tao_seq_S
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_SERVICES_H */
diff --git a/TAO/tao/TAOC.h b/TAO/tao/TAOC.h
index e2840a6e1f3..3fdd25b2f40 100644
--- a/TAO/tao/TAOC.h
+++ b/TAO/tao/TAOC.h
@@ -39,6 +39,7 @@
# define TAO_EXPORT_NESTED_MACRO TAO_Export
#endif /* TAO_EXPORT_NESTED_CLASSES */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -438,7 +439,7 @@ CORBA::Boolean TAO_Export operator>> (TAO_InputCDR &, TAO::BufferingConstraint &
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/TAOS.h b/TAO/tao/TAOS.h
index b84ce05c381..b66a7b5a555 100644
--- a/TAO/tao/TAOS.h
+++ b/TAO/tao/TAOS.h
@@ -23,6 +23,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -189,7 +190,7 @@ TAO_NAMESPACE_CLOSE
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/TAOS_T.h b/TAO/tao/TAOS_T.h
index 14c9a93681d..8bde1d97730 100644
--- a/TAO/tao/TAOS_T.h
+++ b/TAO/tao/TAOS_T.h
@@ -11,6 +11,7 @@
#define _TAO_IDL__PROJECT_DOC_MARINA_ACE_WRAPPERS_TAO_TAO_TAOS_T_H_
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -30,7 +31,7 @@
#endif /* defined REQUIRED PRAGMA */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* ifndef */
diff --git a/TAO/tao/TimeBaseC.h b/TAO/tao/TimeBaseC.h
index 47740f3b586..54daff12ec0 100644
--- a/TAO/tao/TimeBaseC.h
+++ b/TAO/tao/TimeBaseC.h
@@ -34,6 +34,7 @@
#endif
#define TAO_EXPORT_MACRO TAO_Export
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -148,7 +149,7 @@ CORBA::Boolean TAO_Export operator>> (TAO_InputCDR &, TimeBase::IntervalT &);
#endif /* defined INLINE */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_IDL_TIMEBASEC_H */
diff --git a/TAO/tao/TimeBaseS_T.h b/TAO/tao/TimeBaseS_T.h
index 63619c9a443..966b5a574bb 100644
--- a/TAO/tao/TimeBaseS_T.h
+++ b/TAO/tao/TimeBaseS_T.h
@@ -19,6 +19,7 @@
#define TAO_IDL_TIMEBASES_T_H
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -38,7 +39,7 @@
#endif /* defined REQUIRED PRAGMA */
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_IDL_TIMEBASES_T_H */
diff --git a/TAO/tao/WrongTransactionC.h b/TAO/tao/WrongTransactionC.h
index 580b5885ff0..b297877b6f2 100644
--- a/TAO/tao/WrongTransactionC.h
+++ b/TAO/tao/WrongTransactionC.h
@@ -38,6 +38,7 @@
#endif
#define TAO_EXPORT_MACRO
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -69,7 +70,7 @@ public:
}; // exception CORBA::WrongTransaction
#if defined(_MSC_VER)
-#pragma warning(default:4250)
+#pragma warning(pop)
#endif /* _MSC_VER */
#endif /* TAO_HAS_MINIMUM_CORBA */
diff --git a/TAO/tao/corbafwd.h b/TAO/tao/corbafwd.h
index e5e48be282f..a089ef20d9c 100644
--- a/TAO/tao/corbafwd.h
+++ b/TAO/tao/corbafwd.h
@@ -76,6 +76,7 @@
#endif
#define TAO_EXPORT_MACRO TAO_Export
#if defined(_MSC_VER)
+#pragma warning(push)
#pragma warning(disable:4250)
#endif /* _MSC_VER */
@@ -1817,4 +1818,8 @@ typedef TAO_ObjectKey *TAO_ObjectKey_ptr;
# include "tao/corbafwd.i"
#endif /* ! __ACE_INLINE__ */
+#if defined(_MSC_VER)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
#endif /* TAO_CORBAFWD_H */