[MPlayer-dev-eng] Compiler warnings
Clément Bœsch
ubitux at gmail.com
Wed Feb 2 15:14:52 CET 2011
On Tue, Feb 01, 2011 at 04:54:42PM +0100, Ingo Brückl wrote:
> The MPlayer 1.0rc4 release note says:
>
> [...] A ton of compiler warnings disappeared [...]
>
> This is great. Because warnings are a programmer's valuable help, there
> should be lots of compiler warning options activated and warnings should be
> clearly visible and thus become somehow annoying when the goal is to make a
> program compile totally free of warnings.
>
> I like what was done with the kernel some time ago. All compiler instruction
> outputs were suppressed and replaced by appropriate short information. Now
> any warning could catch everbody's eyes even when not especially looking for
> them. In my little projects I do something like
>
I was also wondering why this has been done on FFmpeg and not MPlayer.
Btw, you can also use colorgcc if you want to see them more.
> %.o: %.c
> @echo " CC " $<
> @$(CC) $(CFLAGS) -c -o $@ $<
>
> $(PROG): $(OBJS)
> @echo " LD " $@
> @$(CC) $(CFLAGS) -o $@ $<
>
I don't really like redefining builtins, but I don't know the build
system enough to have a word on it.
--
Clément B.
More information about the MPlayer-dev-eng
mailing list