Stephan Bergmann
38ee6b2ad5
-Werror,-Wmicrosoft-exception-spec (clang-cl)
No idea why that started to show up now, but
C:/Program Files (x86)/Windows Kits/10/Include/10.0.17763.0/um/combaseapi.h
contains
> #define STDMETHOD(method) virtual COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE method
while
C:/Program Files (x86)/Windows Kits/10/Include/10.0.17763.0/um/winnt.h
contains
> #define STDMETHODIMP HRESULT STDMETHODCALLTYPE
which caused failures like
> [build CXX] embedserv/source/inprocserv/dllentry.cxx
> embedserv/source/inprocserv/dllentry.cxx(261,40): error: 'QueryInterface' is missing exception specification '__attribute__((nothrow))' [-Werror,-Wmicrosoft-exception-spec]
> STDMETHODIMP InprocEmbedProvider_Impl::QueryInterface( REFIID riid, void ** ppv )
> ^
> embedserv/source/inprocserv/dllentry.cxx(143,15): note: previous declaration is here
> STDMETHOD(QueryInterface)(REFIID riid, void ** ppvObj) override;
> ^
Change-Id: I0fe3554c2da4089bf0f883e1132d6f2ee95ae2c3
Reviewed-on: https://gerrit.libreoffice.org/79970
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-10-02 08:18:57 +02:00
..
2019-10-01 18:56:06 +02:00
2019-10-02 08:18:57 +02:00
2019-10-02 08:18:57 +02:00
2019-10-02 08:18:57 +02:00
2019-10-02 08:18:57 +02:00
2018-02-01 10:42:24 +01:00
2019-10-01 13:19:04 +02:00
2019-01-10 22:22:29 +01:00
2017-10-27 19:28:52 +02:00
2019-10-01 18:56:31 +02:00
2019-10-01 13:19:04 +02:00
2019-10-02 08:18:57 +02:00
2018-07-23 23:38:57 +02:00
2018-12-08 13:28:16 +01:00