Hushed up stupid warnings on Windows.

This commit is contained in:
warren%netscape.com 1999-03-25 07:29:29 +00:00
Родитель 32d3372e42
Коммит 1d640288fd
2 изменённых файлов: 16 добавлений и 0 удалений

Просмотреть файл

@ -183,5 +183,13 @@ typedef PRUint32 nsresult;
#define NS_ERROR_FACTORY_EXISTS (NS_ERROR_BASE + 0x100)
/*@}*/
////////////////////////////////////////////////////////////////////////////////
#ifdef XP_PC
#pragma warning(disable: 4251) // 'nsCOMPtr<class nsIInputStream>' 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

Просмотреть файл

@ -183,5 +183,13 @@ typedef PRUint32 nsresult;
#define NS_ERROR_FACTORY_EXISTS (NS_ERROR_BASE + 0x100)
/*@}*/
////////////////////////////////////////////////////////////////////////////////
#ifdef XP_PC
#pragma warning(disable: 4251) // 'nsCOMPtr<class nsIInputStream>' 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