Opened 9 years ago

#1838 new defect

error: conflicting type qualifiers for 'vf_obj_list'

Reported by: kuh3h3@… Owned by: reimar
Priority: normal Component: vf
Version: HEAD Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

OLD ERROR? but still occurred.

already recommended patch(append const) applied but compile failed

my libmpcodecs/vf.h
===========================
#include "mp_image.h"

extern m_obj_settings_t* vf_settings;
extern const m_obj_list_t vf_obj_list;
=================================

media/sdc1/wmapro/mplayer$ LANG=C svn info
Path: .
URL: svn://svn.mplayerhq.hu/mplayer/trunk
Repository Root: svn://svn.mplayerhq.hu/mplayer
Repository UUID: b3059339-0415-0410-9bf9-f77b7e298cf2
Revision: 32724
Node Kind: directory
Schedule: normal
Last Changed Author: reimar
Last Changed Rev: 32724
Last Changed Date: 2010-12-20 07:02:52 +0900 (Mon, 20 Dec 2010)

cc -MD -MP -O2 -march=native -mtune=native -pipe -g -Wundef -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O2
-march=native -mtune=native -pipe -g -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -Iffmpeg -D_REENTRANT
-I/usr/include/directfb -I/usr/include/ -I/usr/include/kde/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT
-I/usr/include -I/usr/include/freetype2 -I/usr/include/bs2b
-DHAVE_STRUCT_SOCKADDR_STORAGE -I/usr/include/dirac
-I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include -I/usr/include
-DDVDNAV_USES_EXTERNAL_DVDREAD -c -o libmpcodecs/vf.o libmpcodecs/vf.c
libmpcodecs/vf.c:218: error: conflicting type qualifiers for 'vf_obj_list'
libmpcodecs/vf.h:26: note: previous declaration of 'vf_obj_list' was here
libmpcodecs/vf.c: In function 'vf_config_wrapper':
libmpcodecs/vf.c:617: warning: comparison between signed and unsigned
integer expressions
make: * [libmpcodecs/vf.o] error 1

my config option is

./configure --prefix=/usr --disable-runtime-cpudetection --enable-gui
--enable-menu --disable-inet6 --confdir=/etc/mplayer --enable-debug
--enable-librtmp --enable-xvmc --enable-largefiles

--disable-libdvdcss-internal --disable-dvdread-internal

Change History (0)

Note: See TracTickets for help on using tickets.