[libdvdnav-devel] By The Way...

Jean-Baptiste Kempf jb at videolan.org
Tue Jan 20 19:42:50 CET 2015


On 15 Jan, Timothy Gu wrote :
> On Thursday, January 15, 2015, Lawrence D'Oliveiro <ldo at geek-central.gen.nz>
> wrote:
> 
> > On Thu, 15 Jan 2015 19:17:42 -0800, John Stebbins wrote:
> >
> > > FYI, dvdread and dvdnav work fine when compiled with clang. HandBrake
> > > has been compiling them with clang on osx for years.  I suppose I
> > > should have looked into silencing those warnings long ago, but it
> > > just never got to the top of my TODO list.
> >
> > If that’s the case, then it should be safe to simply take out the
> > “gcc_struct” from the definition of ATTRIBUTE_PACKED.
> 
> 
> gcc_struct is a no-op on Linux, but it changes the ABI to use on Windows.
> So if you merely remove it it would break the ABI on Windows. You probably
> need a _WIN32 check to selectively enable gcc_struct.

I don't see the need. And yes, it will break Windows port.

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdnav-devel mailing list