R
Rene Koenig
Guest
Hi,
I'm getting a ton of C4986 warnings. The code in question uses the STDMETHOD macro in the header file and the STDMETHODIMP in the implementation file. I had a look at the definitions and as it turned out, STDMETHOD is defined with __declspec(nothrow) whereas STDMETHODIMP is not.
What is the reason for that? Is there an elegant way to get rid of the warnings in this particular case?
VS 16.4.5, SDK 10.0.18362.0
Rene
Continue reading...
I'm getting a ton of C4986 warnings. The code in question uses the STDMETHOD macro in the header file and the STDMETHODIMP in the implementation file. I had a look at the definitions and as it turned out, STDMETHOD is defined with __declspec(nothrow) whereas STDMETHODIMP is not.
What is the reason for that? Is there an elegant way to get rid of the warnings in this particular case?
VS 16.4.5, SDK 10.0.18362.0
Rene
Continue reading...