[Bug 50996] GCC11 & wineg++ regression: missing /usr/include path

WineHQ Bugzilla wine-bugs at winehq.org
Mon Apr 19 11:17:54 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=50996

Jacek Caban <jacek at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jacek at codeweavers.com

--- Comment #9 from Jacek Caban <jacek at codeweavers.com> ---
Created attachment 69883
  --> https://bugs.winehq.org/attachment.cgi?id=69883
fix

The attached patch should help. We previously used -I/usr/include, which was
no-op because it was already in system dirs path. Now that we use -isystem, it
successfully changes include order in a way that C++ headers can't handle. With
the attached patch, we should have proper behavior again. I'm not sure if we
should explicitly specify those anyway, we could just live it to GCC.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list