[x264-devel] Re: x264: svn commit r288 (titer)

Laurent Aimar fenrir at via.ecp.fr
Mon Aug 29 15:14:28 CEST 2005


On Mon, Aug 29, 2005, Eric Petit wrote:
> Måns Rullgård wrote:
> >>r288 | titer | 2005-08-29 13:20:23 +0200 (Mon, 29 Aug 2005) | 3 lines
> >>Changed paths:
> >>  M /trunk/x264.h
> >>
> >>x264.h: issue an explicit warning when neither stdint.h nor inttypes.h
> >>has be included before x264.h
> >
> >This will give bogus warnings on some platforms.  For instance, AIX
> >inttypes.h defines _H_INTTYPES (stdint.h is missing), and on FreeBSD
> >stdint.h is a symlink to sys/stdint.h, and defines _SYS_STDINT_H_.
> 
>  This is why I put only a #warning and not an #error. People are 

 #warning doesn't work on VC++ compiler ...

you can use

#ifdef _MSC_VER
#pragma message("BlaBla")
#elif
#warning Blabla
#endif

-- 
fenrir

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list