Silence -Werror,-Wnon-virtual-dtor in generated so_activex.h (clang-cl)
Change-Id: If9472d25f469030102b26894793ba45ab0fafaa3
This commit is contained in:
parent
368d7e9747
commit
f26996bd33
8 changed files with 62 additions and 6 deletions
|
@ -25,10 +25,17 @@
|
|||
|
||||
#include "stdafx2.h"
|
||||
|
||||
#include "so_activex.h"
|
||||
#include "SOActionsApproval.h"
|
||||
#include <sal/macros.h>
|
||||
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
#include "so_activex.h"
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
STDMETHODIMP SOActionsApproval::InterfaceSupportsErrorInfo(REFIID riid)
|
||||
{
|
||||
|
|
|
@ -33,8 +33,14 @@
|
|||
|
||||
#include <atlctl.h>
|
||||
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
#include "so_activex.h"
|
||||
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
// SOActionsApproval
|
||||
|
||||
|
|
|
@ -23,12 +23,20 @@
|
|||
#pragma warning (disable:4265)
|
||||
|
||||
#include "stdafx2.h"
|
||||
#include "so_activex.h"
|
||||
#include "SOActiveX.h"
|
||||
#include "SOComWindowPeer.h"
|
||||
#include "SODispatchInterceptor.h"
|
||||
#include "SOActionsApproval.h"
|
||||
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
#include "so_activex.h"
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#pragma warning (pop)
|
||||
|
||||
#define STAROFFICE_WINDOWCLASS "SOParentWindow"
|
||||
|
|
|
@ -33,7 +33,14 @@
|
|||
|
||||
#include <atlctl.h>
|
||||
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
#include "so_activex.h"
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#pragma warning (pop)
|
||||
|
||||
|
|
|
@ -24,10 +24,17 @@
|
|||
#include <cstddef>
|
||||
|
||||
#include "stdafx2.h"
|
||||
#include "so_activex.h"
|
||||
#include "SOComWindowPeer.h"
|
||||
#include <sal/macros.h>
|
||||
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
#include "so_activex.h"
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
STDMETHODIMP SOComWindowPeer::InterfaceSupportsErrorInfo(REFIID riid)
|
||||
{
|
||||
|
|
|
@ -33,8 +33,14 @@
|
|||
|
||||
#include <atlctl.h>
|
||||
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
#include "so_activex.h"
|
||||
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
// SOComWindowPeer
|
||||
|
||||
|
|
|
@ -25,12 +25,19 @@
|
|||
|
||||
#include "stdio.h"
|
||||
#include "stdafx2.h"
|
||||
#include "so_activex.h"
|
||||
#include "SOActiveX.h"
|
||||
#include "SODispatchInterceptor.h"
|
||||
#include "com_uno_helper.h"
|
||||
#include <sal/macros.h>
|
||||
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
#include "so_activex.h"
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
STDMETHODIMP SODispatchInterceptor::InterfaceSupportsErrorInfo(REFIID riid)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,15 @@
|
|||
#include "stdafx2.h"
|
||||
#include "resource.h"
|
||||
#include <initguid.h>
|
||||
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
#include "so_activex.h"
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic push
|
||||
|
|
Loading…
Reference in a new issue