[MPlayer-dev-eng] debug & devel branch. comiler bug or 10l?

Ivan Kalvachev ivan at cacad.com
Sun Feb 23 01:03:35 CET 2003


i got that error when compiling fresh CVS

[snip]
make[2]: Leaving directory `/work/src/main/libmenu'
make[1]: Leaving directory `/work/src/main'
gcc -c -W -Wall -Wno-unused-parameter -O2 -march=i686 -mcpu=i686 -g3
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux
-Iloader -Ilibvo -I/usr/X11R6/include -I/usr/X11R6/include/freetype2
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/local/include/SDL
-D_REENTRANT  -o mplayer.o mplayer.c cc1: Invalid option
`-Wno-unused-parameter'
mplayer.c: In function `cfg_inc_verbose':
mplayer.c:129: warning: unused parameter `conf'
mplayer.c: In function `cfg_include':
mplayer.c:131: warning: unused parameter `conf'
mplayer.c: In function `playtree_add_playlist':
mplayer.c:586: warning: implicit declaration of function
`play_tree_add_bpf' mplayer.c:591: warning: implicit declaration of
function `import_playtree_playli   st_into_gui' mplayer.c: In function
`main':
mplayer.c:722: warning: passing arg 2 of `m_config_register_options'
from incomp   atible pointer type mplayer.c:777: warning: implicit
declaration of function `import_initial_playtre   e_into_gui'
mplayer.c:841: warning: implicit declaration of function `fstype_help'
mplayer.c:851: warning: unused variable `duration'
make: *** [mplayer.o] Error 1
//-------------------------------------------------

here is the script i use to call `configure`
//--------------------------------------------------
./configure --enable-largefiles --disable-runtime-cpudetection \
--disable-i18n --language=bg --enable-freetype \
--enable-qtx-codecs --enable-live --enable-dynamic-plugins \
--enable-xmms  --enable-new-conf --enable-menu --enable-gui
--enable-debug=3 //--------------------------------------------------
i tried to remove new-conf, menu,gui,
I was able to compile after removing debug (and only debug)

BTW the only error i see is

mplayer.c cc1: Invalid option
`-Wno-unused-parameter'

could it be compiler bug?
I removed it (from config.mak) and it compiles.

gcc 2.95.3 (slackware 8.1)


Best Regards
   Ivan Kalvachev





More information about the MPlayer-dev-eng mailing list