[MPlayer-users] [PATCH] Fix a bunch of fresh -Wundef warnings...

Erik Auerswald auerswal at unix-ag.uni-kl.de
Sat Oct 27 20:17:46 CEST 2012


Hi,

On 10/25/2012 10:51 PM, Erik Auerswald wrote:
> compiling a current svn checkout of MPlayer with a current git clone of
> FFmpeg shows the following new warnings:
>
> libavutil/libm.h:36:6: warning: "HAVE_ATANF" is not defined [-Wundef]
> libavutil/libm.h:41:6: warning: "HAVE_ATAN2F" is not defined [-Wundef]
> libavutil/libm.h:46:6: warning: "HAVE_POWF" is not defined [-Wundef]
> libavutil/libm.h:58:6: warning: "HAVE_COSF" is not defined [-Wundef]
> libavutil/libm.h:63:6: warning: "HAVE_EXPF" is not defined [-Wundef]
> libavutil/libm.h:98:6: warning: "HAVE_LDEXPF" is not defined [-Wundef]
> libavutil/libm.h:123:6: warning: "HAVE_LOG10F" is not defined [-Wundef]
> libavutil/libm.h:128:6: warning: "HAVE_SINF" is not defined [-Wundef]
>
> Seems some new FFmpeg #defines that need to be added somewhere™. Does
> anybody know where new FFmpeg feature test macros are supposed to be
> added? More specific than "to configure", please. ;-)

The attached patch adds checks to create the above HAVE_* defines to 
configure. The many silenced warnings show additional missing HAVE_* 
defines...

Thanks,
Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-configure-add_some_math_func_checks.patch
Type: text/x-diff
Size: 1681 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20121027/e3daf6db/attachment.bin>


More information about the MPlayer-users mailing list