[FFmpeg-devel] [PATCH] Silence useless icc warnings
Carl Eugen Hoyos
cehoyos
Sun May 11 11:17:18 CEST 2008
Hi!
M?ns Rullg?rd <mans <at> mansr.com> writes:
> > +# add some flags for Intel C Compiler
> > +if `$cc --version |grep -q Intel`; then
>
> I prefer the $(command) syntax,
Sorry, could you explain?
> and the command could use a little
> whitespace cosmetics.
Of course.
> > + # Just warnings, no remarks
> > + check_cflags -w1
> > + # -wd: Disable following warnings
> > + # 144, 167, 556: -Wno-pointer-sign
> > + # 10006: ignoring unknown option -fno-signed-zeros
> > + # 10156: ignoring option '-W'; no argument required
> > + check_cflags -wd144,167,556,10006,10156
> > + # 11030: ignoring option '-export'; no argument required
> > + check_ldflags -wd10156,11030
>
> Wouldn't it be better to not pass those options in the first place?
This will be easy for the warnings, I thought it will uglify your configure
script...
Will send new patch when I understood $(command) syntax.
Thank you, Carl Eugen
More information about the ffmpeg-devel
mailing list