[MPlayer-dev-eng] [PATCH] Remove a warning when compiling demux_rtp*

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Nov 21 19:13:01 CET 2006


On 2006-11-21 17:46, Diego Biurrun wrote:
> On Tue, Nov 21, 2006 at 06:36:03PM +0100, Carl Eugen Hoyos wrote:
> > 
> > Attached patch removes the following warning when compiling demux_rtp.cpp 
and 
> > demux_rtp_codec.cpp:
> > cc1plus: warning: command line option "-Wdeclaration-after-statement" is 
valid 
> > for C/ObjC but not for C++
> 
> Trying to win the ugliest hack of the year award? ;)

Of course, but I can do much better!!

> This has to be done in configure, if at all.

There are only two C++ files in mplayer, and they are both in libmpdemux...

Carl Eugen



More information about the MPlayer-dev-eng mailing list