Re: [Mingw-w64-public] [PATCH] headers: Don't use __gnu_inline__ with __mingw_ovr in C++ mode

2019-09-07 Thread Christian Franke
Martin Storsjö wrote: On Wed, 4 Sep 2019, Liu Hao wrote: 在 2019/9/4 4:09, Martin Storsjö 写道: In this case, it doesn't get emitted as .linkonce discard - I'm not sure exactly what's going on in this combination, whether it's contradicting itself in C++ mode, or if it's just a bug. I could ta

Re: [Mingw-w64-public] [PATCH] headers: Don't use __gnu_inline__ with __mingw_ovr in C++ mode

2019-09-07 Thread Christian Franke
Liu Hao wrote: ... There is something worse: As these wrappers uses `__builtin_va_arg_pack()` they MUST always be emitted inline, not just be declared inline. If inline is not possible, the inline definition cannot be used, which is exactly the `__gnu_inline__` behavior. Yeah, the bad news is t