[gst-devel] extern "C"

Taylor Christopher P ct at cs.clemson.edu
Wed Jul 16 21:40:15 CEST 2003


I found out the compilation problems I was having with gstplay are tied to
my use of g++ over gcc.

the reason for the linker error is that each header file in gstreamer
doesn't have an ifdef checking for __cplusplus along with an extern "C"
{} block around the contents of each header file.

the extern "C" block exposes C code to the g++ compiler. I was interested
in seeing if any of the gst-developers would be interested in exposing the
gstreamer framework to g++.

thanks for all the tips/tricks/assistance with the lymric
makefile/configure situation. we're going to revert all the UI/GTK+ code
written thus far back into C [from c++] to get this application to
integrate with gstreamer. though, it would be nice to have gstreamer
accessible to g++.

Christopher Paul Taylor, Clemson University Computer Science Dept.




More information about the gstreamer-devel mailing list