mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __packed__ attribute ignored


From: Helge Kruse
Subject: Re: __packed__ attribute ignored
Date: Sun, 17 Jan 2021 09:14:46 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

Am 16.01.2021 um 13:58 schrieb Tony Theodore:
>
>> On 16 Jan 2021, at 23:08, Tony Theodore <tonyt@logyst.com> wrote:
>>
>>
>>> On 31 Dec 2020, at 21:17, Helge Kruse <Helge.Kruse@gmx.net> wrote:
>>>
>>> How should that be fixed?
>>
>> Thanks for the detailed report, I've raised
>>
>> https://github.com/mxe/mxe/issues/2607
>
> See:
>   https://github.com/mxe/mxe/issues/2607#issuecomment-761558746
>   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87344
>
> compiling with `-mno-ms-bitfields` will do what you expect.

Yes, this might be the case. It is a workaround for the MWE (minimum
working example) in my mail.

But it brings in an unnecessary difference to the standard GCC. So you
need to change any project that uses packed structs just for compiling
it with MXE. I think MXE should behave like normal GCC.

Regards,
Helge



reply via email to

[Prev in Thread] Current Thread [Next in Thread]