[gst-devel] c++ patch
Tim 'Tool-Man' Taylor
tim at tool-man.org
Wed Mar 7 01:45:01 CET 2001
Matt Howell wrote:
> attached is a patch to allow c++ (post egcs compilers) to include
gst/gstpad.h
The patch fixes that error for me. However, I get a few more errors
when attempting to compile with gcc 3.0 (from CVS). Here are the errors:
g++ -I/opt/gcc/include -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/gnome-xml -I/opt/gstreamer-cvs/include -D_REENTRANT -fPIC
-c sample-native.ccIn file included from
/opt/gstreamer-cvs/include/gst/gst.h:29,
from sample-native.h:11,
from sample-native.cc:3:
/opt/gstreamer-cvs/include/gst/gstinfo.h: In function `gchar*
_gst_debug_nameof_funcptr(void*)':
/opt/gstreamer-cvs/include/gst/gstinfo.h:142: cannot convert `void*' to
`gchar*' in initialization
In file included from /opt/gstreamer-cvs/include/gst/gstpad.h:39,
from /opt/gstreamer-cvs/include/gst/gst.h:31,
from sample-native.h:11,
from sample-native.cc:3:
/opt/gstreamer-cvs/include/gst/gstcaps.h: At global scope:
/opt/gstreamer-cvs/include/gst/gstcaps.h:55: parameter `factory' includes
pointer to array of unknown bound `void*[]'
/opt/gstreamer-cvs/include/gst/gstcaps.h:56: parameter `factory' includes
pointer to array of unknown bound `void*[]'
/opt/gstreamer-cvs/include/gst/gstcaps.h:65: parse error before `typeid'
In file included from /opt/gstreamer-cvs/include/gst/gst.h:31,
from sample-native.h:11,
from sample-native.cc:3:
/opt/gstreamer-cvs/include/gst/gstpad.h:326: parameter `factory' includes
pointer to array of unknown bound `void*[]'
make: *** [sample-native.o] Error 1
--
Tim Taylor
tim at tool-man.org
More information about the gstreamer-devel
mailing list