On 03/07/18 00:34, Alex Henrie wrote:
OK, I don't think this is going to work at all. After adding __ms_hook_prologue__ to the definition of __stdcall, I get tons of "warning: ‘ms_hook_prologue’ attribute does not apply to types".
This makes me think that, at least for now, it's best to continue to add DECLSPEC_HOTPATCH on a case-by-case basis.
-Alex
This seems like it would be a GCC bug; it works with other attributes and there's no architectural reason it can't work here.