From:
[email protected]
Package: kgst
Severity: normal
Tags: patch
When building 'kgst' with gcc-3.4 I get the following error:
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst -I/usr/include/kde -I/usr/share/qt3/include -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -g -Wall -O2 -fno-exceptions -fno-check-new -c -o
guiplayer.o `test -f 'guiplayer.cpp' || echo './'`guiplayer.cpp
In file included from guiplayer.cpp:6:
guiplayer.h:21: error: namespace `KDE::GSTPlay' not allowed in using-declaration
guiplayer.cpp: In member function `void GuiPlayer::updateSlider(long long int)':
guiplayer.cpp:120: warning: passing `double' for converting 1 of `virtual void QSlider::setValue(int)'
make[4]: *** [guiplayer.o] Error 1
make[4]: Leaving directory `/kgst-0.6.1/gst/examples'
With the attached patch 'kgst' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/kgst-0.6.1/gst/examples/guiplayer.h ./gst/examples/guiplayer.h
--- ../tmp-orig/kgst-0.6.1/gst/examples/guiplayer.h 2003-02-28 02:05:26.000000000 +0100
+++ ./gst/examples/guiplayer.h 2004-08-17 16:56:28.441299985 +0200
@@ -18,7 +18,6 @@
#include <kde/gstplay/play.h>
#include <kde/gstplay/videoscreen.h>
-using KDE::GSTPlay;
class GuiPlayer : public QWidget
{
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)