[MPlayer-dev-eng] [PATCH] Huge batch of compiler warning fixes

Arpi arpi at thot.banki.hu
Mon Nov 4 22:44:39 CET 2002


Hi,

> > if someone wants more warnings, then he can add it in config.mak, or set
> > own CFLAGS before calling ./configure
> 
> I would think a programmer likes to know if his code is standard compliant
> or not.

i can't see any relation between -Wall and std compliance.
and no, don't ever think of adding -ansi -pedantic too...
i recommend you read the xine-devel list, they did it recently, and finally
removed, afetr near every developer shouted NO NO NO

> > also i remember that the icc patch removed some of the -Wall's as icc has
> > no such option
> 
> Has it ever been applied?

partially, i applied most parts, including the -g -Wall removing.

and still, if you really want it, it should be added to the main OPTFLAGS to
config.mak, instead of every single Makefile.
but i'm against adding it by default.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list