In mkv_plugin I get the following "error: declaration of 'char* vlc_gettext(const char*) throw ()' throws different exceptions":
Code: Select all
...........
make[5]: Entering directory `/tmp/build/tmp-vlc/vlc-1.0.0-pre2/modules/demux/mkv'
make all-am
make[6]: Entering directory `/tmp/build/tmp-vlc/vlc-1.0.0-pre2/modules/demux/mkv'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -I/tmp/build/tmp-vlc/vlcdeps/usr/include -DSYS_LINUX `top_srcdir="../../.." top_builddir="../../.." ../../../vlc-config --cxxflags plugin libmkv_plugin_la-mkv.lo` -O2 -march=i486 -mtune=i686 -I/tmp/build/tmp-vlc/vlcdeps/usr/include -MT libmkv_plugin_la-mkv.lo -MD -MP -MF .deps/libmkv_plugin_la-mkv.Tpo -c -o libmkv_plugin_la-mkv.lo `test -f 'mkv.cpp' || echo './'`mkv.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -I/tmp/build/tmp-vlc/vlcdeps/usr/include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=mkv -DMODULE_NAME_IS_mkv -DMODULE_STRING=\"mkv\" -O4 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -O2 -march=i486 -mtune=i686 -I/tmp/build/tmp-vlc/vlcdeps/usr/include -MT libmkv_plugin_la-mkv.lo -MD -MP -MF .deps/libmkv_plugin_la-mkv.Tpo -c mkv.cpp -fPIC -DPIC -o .libs/libmkv_plugin_la-mkv.o
In file included from ../../../include/vlc_common.h:496,
from mkv.hpp:44,
from mkv.cpp:25:
../../../include/vlc_mtime.h:79: warning: 'error' attribute directive ignored
../../../include/vlc_mtime.h:89: warning: 'warning' attribute directive ignored
../../../include/vlc_mtime.h:107: warning: 'error' attribute directive ignored
In file included from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/i486-slackware-linux/bits/c++locale.h:52,
from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/iosfwd:45,
from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/ios:43,
from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/ostream:45,
from /usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../include/c++/4.2.4/iostream:45,
from mkv.hpp:59,
from mkv.cpp:25:
/usr/include/libintl.h:41: error: declaration of 'char* vlc_gettext(const char*) throw ()' throws different exceptions
../../../include/vlc_common.h:828: error: from previous declaration 'char* vlc_gettext(const char*)'
make[6]: *** [libmkv_plugin_la-mkv.lo] Error 1
make[6]: Leaving directory `/tmp/build/tmp-vlc/vlc-1.0.0-pre2/modules/demux/mkv'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/tmp/build/tmp-vlc/vlc-1.0.0-pre2/modules/demux/mkv'
make[4]: *** [all-recursive] Error 1
Anyone with a good tip?
Eric