[PATCH] include: Always enable DECLSPEC_HOTPATCH for explicitly stdcall functions.

Alex Henrie alexhenrie24 at gmail.com
Wed Jul 4 15:36:21 CDT 2018


On Wed, Jul 4, 2018 at 10:22 PM Alexandre Julliard <julliard at winehq.org> wrote:
>
> Alex Henrie <alexhenrie24 at gmail.com> writes:
>
> > On Wed, Jul 4, 2018 at 6:25 PM Alex Henrie <alexhenrie24 at gmail.com> wrote:
> >>
> >> On Wed, Jul 4, 2018 at 1:31 AM Austin English <austinenglish at gmail.com> wrote:
> >> >
> >> > On Tue, Jul 3, 2018, 02:09 Alex Henrie <alexhenrie24 at gmail.com> wrote:
> >> > Is there a GCC bug filed? I don't think we'll see much progress if no one has reported it.
> >>
> >> From the link Zeb shared, I get the impression that the GCC developers
> >> consider the unhelpful warning to be a feature, not a bug.
> >
> > Another option is to turn off attribute warnings (-Wno-attributes).
> > Alexandre, how would you feel about that?
>
> Please try to find a better way.

Yeah, I didn't think you would be a fan of turning off the warning.

I still think the best solution is to continue to add
DECLSPEC_HOTPATCH to functions individually as needed. If a future
version of GCC gives us a nice way to apply it everywhere, we can
switch to that solution then.

-Alex



More information about the wine-devel mailing list