[vlc-devel] [PATCH 21/23] HACK: avoid linker warning about error and warning attributes

Rafaël Carré rafael.carre at gmail.com
Sat Oct 3 20:13:26 CEST 2009


Le 03/10/2009 19:52, Rémi Denis-Courmont a écrit :
> The Fremantle toolchain does not seem to support those extensions.
> ---
>  include/vlc_mtime.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/vlc_mtime.h b/include/vlc_mtime.h
> index 49f53ca..f2188dd 100644
> --- a/include/vlc_mtime.h
> +++ b/include/vlc_mtime.h
> @@ -68,7 +68,7 @@ VLC_EXPORT( void,    mwait,    ( mtime_t date ) );
>  VLC_EXPORT( void,    msleep,   ( mtime_t delay ) );
>  VLC_EXPORT( char *,  secstotimestr, ( char *psz_buffer, int secs ) );
>  
> -#if defined (__GNUC__) && defined (__linux__)
> +#if 0 //defined (__GNUC__) && defined (__linux__)
>  # define VLC_HARD_MIN_SLEEP 10000 /* Linux has 100, 250, 300 or 1000Hz */
>  # define VLC_SOFT_MIN_SLEEP 9000000
>  

I have seen other versions of gcc which don't support them too (although
compilation didn't fail), we should find the gcc version which started
supporting them

-- 
Rafaël Carré

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091003/92858828/attachment.sig>


More information about the vlc-devel mailing list