GNOME Bugzilla – Bug 121174
Compiler error in gst-libs/gst/riff/riffutil.c #define and variable args
Last modified: 2004-12-22 21:47:04 UTC
The '#define debug(format,args,...)' code does not compile on Solaris 8 x86 with the latest compiler, Sun ONE Studio 8. Makefile and compiler output: cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/gnome-2.4/include -I../../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mt -I/opt/gnome-2.4/include/gstreamer-0.6 -I/opt/gnome-2.4/include/glib-2.0 -I/opt/gnome-2.4/lib/glib-2.0/include -I/opt/gnome-2.4/include/libxml2 -DGST_DISABLE_DEPRECATED -g -funroll-all-loops -finline-functions -ffast-math -g -I/opt/gnome-2.4/include -c riffutil.c -KPIC -DPIC -o libgstriff_la-riffutil.o cc: Warning: illegal option -funroll-all-loops cc: Warning: illegal option -finline-functions cc: Warning: illegal option -ffast-math "riffutil.c", line 24: syntax error in macro parameters cc: acomp failed for riffutil.c make[4]: *** [libgstriff_la-riffutil.lo] Error 1 make[4]: Leaving directory `/gnome/2.4/nightly/src-2.4-20030901/gst-plugins-0.6.3/gst-libs/gst/riff' Patch attached.
Created attachment 19642 [details] [review] Use VARARGS in riffutil.c
Fixed in 0.6 and HEAD by removing the unused definition.