On 11/11/13, Dominik 'Rathann' Mierzejewski <dominik@greysector.net> wrote:
Hi Roger,
On Monday, 21 October 2013 at 14:38, Roger Pack wrote: [...]
I'm not sure if it affects other OS's or not. I "think" the problem stems from gcc packing structures differently with 4.7+ though I'm not certain [2] . All I really know is that, for windows with gcc 4.8, it fails without this patch and works with it.
This should be fixed in current SVN. I used an older patch and added configure2 code, too, to match.
Interesting. Thanks for applying that. Unfortunately, at least with cross compiling I get this: working patched 4.2.0 version: libdvdread-4.2.0$ grep ATTRIBUTE_PACKED src/dvdread/ifo_types.h * | grep define src/dvdread/ifo_types.h:#define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) 4.2.1 (with ./autogen.sh && ./configure --host=...): libdvdread-4.2.1$ grep ATTRIBUTE_PACKED src/dvdread/ifo_types.h * | grep define grep: autom4te.cachesrc/dvdread/ifo_types.h:#define ATTRIBUTE_PACKED __attribute__ ((packed)) (it doesn't say gcc_struct with 4.2.1, and thus still fails) Thanks, sorry I don't know more here. -roger-