GNOME Bugzilla – Bug 134750
Problem building gst-plugins on Solaris
Last modified: 2005-08-15 01:29:24 UTC
I have a problem building gst-plugins on Solaris. The file which causes the problem is gst/mpdplug/gstplug.cc. The problem seems to be that GST_FUNCTION is defined to be __func__ because that was what happened when I built gstreamer. However my C++ compiler barfs on __func__. Could GST_FUNCTION be omitted entirely and replace by G_STRFUNC as that is what I did to get it to build
Adding the portability keyword and upgrading the priority to high because of the build issues.
G_STRFUNC is only in glib-2.4, so I copied the implementation. It makes sense, and seems to work. I'm just worried that we'll end up with "???" in places where we used to have a function name. Could you check that G_STRFUNC works correctly with the Solaris C (not C++) compiler?
G_STRFUNC works correctly with the C compiler. It is defined to be __func__.
Ok. Then I like the change. Checking in.