<br><br>On Thursday, January 15, 2015, Lawrence D'Oliveiro <<a href="mailto:ldo@geek-central.gen.nz">ldo@geek-central.gen.nz</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 15 Jan 2015 19:17:42 -0800, John Stebbins wrote:<br>
<br>
> FYI, dvdread and dvdnav work fine when compiled with clang. HandBrake<br>
> has been compiling them with clang on osx for years.  I suppose I<br>
> should have looked into silencing those warnings long ago, but it<br>
> just never got to the top of my TODO list.<br>
<br>
If that’s the case, then it should be safe to simply take out the<br>
“gcc_struct” from the definition of ATTRIBUTE_PACKED.</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote><div><br></div><div>gcc_struct is a no-op on Linux, but it changes the ABI to use <span></span>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.</div><div><br></div><div>Timothy</div>