On Tue, Oct 13, 2015 at 1:05 PM, Hendrik Leppkes <[email protected]> wrote:
> On Tue, Oct 13, 2015 at 12:57 PM, Christophe Gisquet
> <[email protected]> wrote:
>> 2015-10-13 12:42 GMT+02:00 Hendrik Leppkes <[email protected]>:
>>> Why would adding -msse4.2 hide the symbol? Sounds like you should
>>> complain to mingw.
>>
>> That's what I was wondering: was there another obvious reason that the
>> compiler misbehaves?
>>
>>> In the meantime we could add an ugly ifdef for mingw/gcc and use
>>> __sync_synchronize there instead (the gcc built-in)
>>
>> That works. Including <emmintrin.h> and MemoryBarrier works too, but
>> that brings us back to the initial issue.
>>
>
> So the compiler flag switches the internal implementation of
> MemoryBarrier, but the mingw headers forgot to include the appropriate
> headers for it?
> Is that all thats to it?

Apparently the appropriate header to add would be intrin.h then. Does
that resolve all troubles?
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to