On Wed, Jul 4, 2018 at 10:22 PM Alexandre Julliard julliard@winehq.org wrote:
Alex Henrie alexhenrie24@gmail.com writes:
On Wed, Jul 4, 2018 at 6:25 PM Alex Henrie alexhenrie24@gmail.com wrote:
On Wed, Jul 4, 2018 at 1:31 AM Austin English austinenglish@gmail.com wrote:
On Tue, Jul 3, 2018, 02:09 Alex Henrie alexhenrie24@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