[FFmpeg-devel] [PATCH] Silence useless icc warnings

Michael Niedermayer michaelni
Sat May 10 12:28:12 CEST 2008


On Sat, May 10, 2008 at 11:37:02AM +0200, Carl Eugen Hoyos wrote:
> Hi!
>
> Attached patch silences most icc warnings.
> Please comment.
>
> Thank you, Carl Eugen

> Index: configure
> ===================================================================
> --- configure	(revision 13104)
> +++ configure	(working copy)
> @@ -1815,6 +1815,13 @@
>  check_cflags -fno-math-errno
>  check_cflags -fno-signed-zeros
>  
> +# add flags to silence some icc warnings
> +if test `basename $cc` = "icc"; then
> +  check_cflags -w1
> +  check_cflags -wd144,167,556,10006,10156
> +  check_ldflags -wd10156,11030

These numbers dont say anything to me, doesnt ICC have some options with
spelled out names?
If not there should be comments explaining what warnings exactly these
disable

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080510/abfda928/attachment.pgp>



More information about the ffmpeg-devel mailing list