From: Alex Henrie Subject: Re: [PATCH] d3dcompiler_43/tests: Avoid using GCC's typeof extension Message-Id: Date: Wed, 19 Sep 2018 22:45:18 -0600 In-Reply-To: <20180920123826.704ba6139e0170d2aa187244@baikal.ru> References: <20180920043051.4897-1-alexhenrie24@gmail.com> <20180920043051.4897-2-alexhenrie24@gmail.com> <20180920123826.704ba6139e0170d2aa187244@baikal.ru> On Wed, Sep 19, 2018 at 10:38 PM Dmitry Timoshkov wrote: > > Alex Henrie wrote: > > > +static HRESULT WINAPI (*pD3DCreateBlob)(SIZE_T, ID3DBlob **); > > +static HRESULT WINAPI (*pD3DGetBlobPart)(const void *, SIZE_T, D3D_BLOB_PART, UINT, ID3DBlob **); > > +static HRESULT WINAPI (*pD3DStripShader)(const void *, SIZE_T, UINT, ID3DBlob **); > > WINAPI should be inside the brackets to become the part of the pointer > type, and not a return type, otherwise MSVC won't compile it. Thanks for catching that. I just sent corrected patches. -Alex