[vlc-devel] VLC_MMX and VLC_SSE function attribute macros breaks outside GCC

Brad Smith brad at comstyle.com
Mon Mar 5 03:48:47 CET 2012


On 02/03/12 1:59 PM, Francois Cartegnie wrote:
> commit 209f1ae07f3380a50f3e920d6ba43a1138fae429 logic:
>
> Breaks VLC_MMX prefixed functions with Suncc:
> __MMX__ is not defined and it's not a GCC compiler.
>
> # if defined (__MMX__)
> #  define VLC_MMX
> # elif VLC_GCC_VERSION(4, 4)
> #  define VLC_MMX __attribute__ ((__target__ ("mmx")))
> # else
> #  define VLC_MMX VLC_MMX_is_not_implemented_on_this_compiler
> # endif

https://trac.videolan.org/vlc/ticket/5979

I had also opened a ticket regarding this change as it broke
building with GCC 4.2.1 on i386.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the vlc-devel mailing list