[libdvdnav-devel] Force gcc-style packing

Roger Pack rogerdpack2 at gmail.com
Thu Aug 28 15:18:55 CEST 2014


Sweet finally a fix for this  issue:
http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/2013-December/002075.html


2014-08-28 0:56 GMT-06:00 Jean-Baptiste Kempf <git at videolan.org>:

> libdvdread | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu
> Aug 28 08:50:29 2014 +0200| [874873d654fc523a2fa45af2abe2cf69599412af] |
> committer: Jean-Baptiste Kempf
>
> Force gcc-style packing
>
> >
> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=874873d654fc523a2fa45af2abe2cf69599412af
> ---
>
>  src/dvdread/ifo_types.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/dvdread/ifo_types.h b/src/dvdread/ifo_types.h
> index aa4c9d3..10bdab5 100644
> --- a/src/dvdread/ifo_types.h
> +++ b/src/dvdread/ifo_types.h
> @@ -32,7 +32,7 @@
>
>  #if defined(__GNUC__)
>  #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
> -#define ATTRIBUTE_PACKED __attribute__ ((packed))
> +#define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
>  #define PRAGMA_PACK 0
>  #endif
>  #endif
>
> _______________________________________________
> libdvdnav-devel mailing list
> libdvdnav-devel at videolan.org
> https://mailman.videolan.org/listinfo/libdvdnav-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libdvdnav-devel/attachments/20140828/0ea0ec4e/attachment.html>


More information about the libdvdnav-devel mailing list