From c751dcd9b9036ac11b231cb82a06c91c3fdc05ad Mon Sep 17 00:00:00 2001 From: "warren%netscape.com" Date: Thu, 25 Mar 1999 07:29:29 +0000 Subject: [PATCH] Hushed up stupid warnings on Windows. git-svn-id: svn://10.0.0.236/trunk@25094 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/base/nsError.h | 8 ++++++++ mozilla/xpcom/public/nsError.h | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/mozilla/xpcom/base/nsError.h b/mozilla/xpcom/base/nsError.h index 415db373501..6c81d3284b4 100644 --- a/mozilla/xpcom/base/nsError.h +++ b/mozilla/xpcom/base/nsError.h @@ -183,5 +183,13 @@ typedef PRUint32 nsresult; #define NS_ERROR_FACTORY_EXISTS (NS_ERROR_BASE + 0x100) /*@}*/ + +//////////////////////////////////////////////////////////////////////////////// + +#ifdef XP_PC +#pragma warning(disable: 4251) // 'nsCOMPtr' needs to have dll-interface to be used by clients of class 'nsInputStream' +#pragma warning(disable: 4275) // non dll-interface class 'nsISupports' used as base for dll-interface class 'nsIRDFNode' +#endif + #endif diff --git a/mozilla/xpcom/public/nsError.h b/mozilla/xpcom/public/nsError.h index 415db373501..6c81d3284b4 100644 --- a/mozilla/xpcom/public/nsError.h +++ b/mozilla/xpcom/public/nsError.h @@ -183,5 +183,13 @@ typedef PRUint32 nsresult; #define NS_ERROR_FACTORY_EXISTS (NS_ERROR_BASE + 0x100) /*@}*/ + +//////////////////////////////////////////////////////////////////////////////// + +#ifdef XP_PC +#pragma warning(disable: 4251) // 'nsCOMPtr' needs to have dll-interface to be used by clients of class 'nsInputStream' +#pragma warning(disable: 4275) // non dll-interface class 'nsISupports' used as base for dll-interface class 'nsIRDFNode' +#endif + #endif