[Mingw-w64-public] [PATCH] headers: Avoid builtin clash with _xgetbv in Clang 9

2019-01-16 Thread Martin Storsjö
Clang 9 adds _xgetbv for non-msvc targets, by adding a builtin named __builtin_ia32_xgetbv and a define in a header redirecting _xgetbv to __builtin_ia32_xgetbv. The define redirection breaks the intrin-impl.h code already on the prototype. Signed-off-by: Martin Storsjö --- mingw-w64-headers/inc

Re: [Mingw-w64-public] [PATCH] headers: Remove C-compatibility parts from dwrite_2.h.

2019-01-16 Thread Nikolay Sivov
On Wed, Jan 16, 2019 at 4:30 PM Tomasz Konojacki wrote: > On Wed, 16 Jan 2019 16:02:09 +0300 > Nikolay Sivov wrote: > > > I'm not, but I don't see how "struct a: public struct b" would work in > > objc, same for overloaded methods. > > It won't work in Objective C, but I think it will work in Ob

Re: [Mingw-w64-public] [PATCH] headers: Remove C-compatibility parts from dwrite_2.h.

2019-01-16 Thread Tomasz Konojacki
On Wed, 16 Jan 2019 16:02:09 +0300 Nikolay Sivov wrote: > I'm not, but I don't see how "struct a: public struct b" would work in > objc, same for overloaded methods. It won't work in Objective C, but I think it will work in Objective C++. ___ Mingw-w

Re: [Mingw-w64-public] [PATCH] headers: Remove C-compatibility parts from dwrite_2.h.

2019-01-16 Thread Nikolay Sivov
On Wed, Jan 16, 2019 at 3:03 PM JonY via Mingw-w64-public < mingw-w64-public@lists.sourceforge.net> wrote: > On 1/16/19 11:46 AM, Nikolay Sivov wrote: > > On Wed, Jan 16, 2019 at 2:42 PM JonY via Mingw-w64-public < > > mingw-w64-public@lists.sourceforge.net> wrote: > > > >> On 1/16/19 7:18 AM, Nik

Re: [Mingw-w64-public] [PATCH] headers: Remove C-compatibility parts from dwrite_2.h.

2019-01-16 Thread JonY via Mingw-w64-public
On 1/16/19 11:46 AM, Nikolay Sivov wrote: > On Wed, Jan 16, 2019 at 2:42 PM JonY via Mingw-w64-public < > mingw-w64-public@lists.sourceforge.net> wrote: > >> On 1/16/19 7:18 AM, Nikolay Sivov wrote: >>> I don't see a reason in keeping this compatibility code, It already won't >>> work for C becaus

Re: [Mingw-w64-public] [PATCH] headers: Remove C-compatibility parts from dwrite_2.h.

2019-01-16 Thread Nikolay Sivov
On Wed, Jan 16, 2019 at 2:42 PM JonY via Mingw-w64-public < mingw-w64-public@lists.sourceforge.net> wrote: > On 1/16/19 7:18 AM, Nikolay Sivov wrote: > > I don't see a reason in keeping this compatibility code, It already won't > > work for C because of IDWriteFactory2 overloaded methods. Another

Re: [Mingw-w64-public] [PATCH] headers: Remove C-compatibility parts from dwrite_2.h.

2019-01-16 Thread JonY via Mingw-w64-public
On 1/16/19 7:18 AM, Nikolay Sivov wrote: > I don't see a reason in keeping this compatibility code, It already won't > work for C because of IDWriteFactory2 overloaded methods. Another reason > is DWRITE_FONT_METRICS1 definition from dwrite_1.h, included from > dwrite_2.h, which is also incompatibl