[libdvdnav-devel] By The Way...

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Mon Jan 19 03:26:54 CET 2015


On Mon, 19 Jan 2015 01:46:40 +0000, Timothy Gu wrote:

> On Sat Jan 17 2015 at 4:03:48 PM Lawrence D'Oliveiro <
> ldo at geek-central.gen.nz> wrote:
> 
>> On Thu, 15 Jan 2015 22:36:18 -0800, Timothy Gu wrote:
>>
>>> gcc_struct is a no-op on Linux, but it changes the ABI to use on
>>> Windows.
>>
>> OK, so how come clang works correctly without recognizing it?
>>
> 
> I was referring to GCC. Clang just ignores the attribute it doesn't
> recognize and throws the warning. On Linux again this doesn't matter.
> On Windows it does, but might not be visible to the tester.

I was assuming that the layout of the structures did matter for the
correct operation of libdvdread. If they don’t, then we needn’t bother
getting the packing right at all.


More information about the libdvdnav-devel mailing list