bridges: MSVC: pragma warning: make more specific, remove obsolete
Change-Id: Ib13f198e5941a33a9a8d1091c8ceb48e273f00cc Reviewed-on: https://gerrit.libreoffice.org/48949 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
parent
0b3ecd909c
commit
82e3833995
@ -21,9 +21,7 @@
|
||||
#if !defined WIN32_LEAN_AND_MEAN
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#pragma warning(push,1) // disable warnings within system headers
|
||||
#include <windows.h>
|
||||
#pragma warning(pop)
|
||||
|
||||
|
||||
void dso_init();
|
||||
|
@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#pragma warning( disable : 4237 )
|
||||
#include <sal/config.h>
|
||||
#include <malloc.h>
|
||||
#include <typeinfo.h>
|
||||
|
@ -22,9 +22,7 @@
|
||||
#if !defined WIN32_LEAN_AND_MEAN
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#pragma warning(push, 1)
|
||||
#include <windows.h>
|
||||
#pragma warning(pop)
|
||||
|
||||
#include "rtl/ustring.hxx"
|
||||
|
||||
|
@ -18,10 +18,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#pragma warning(push,1) // disable warnings within system headers
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#pragma warning(pop)
|
||||
|
||||
#include <cppinterfaceproxy.hxx>
|
||||
|
||||
|
@ -234,7 +234,6 @@ void
|
||||
#endif // 0
|
||||
|
||||
|
||||
#pragma warning( disable : 4237 )
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <memory>
|
||||
|
@ -19,10 +19,8 @@
|
||||
#ifndef INCLUDED_BRIDGES_SOURCE_CPP_UNO_MSVC_WIN32_X86_64_MSCX_HXX
|
||||
#define INCLUDED_BRIDGES_SOURCE_CPP_UNO_MSVC_WIN32_X86_64_MSCX_HXX
|
||||
|
||||
#pragma warning(push, 1)
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#pragma warning(pop)
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
|
@ -45,13 +45,7 @@
|
||||
#include <sys/mman.h>
|
||||
#elif defined _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push,1) // disable warnings within system headers
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
#else
|
||||
#error Unsupported platform
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user