After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 121174 - Compiler error in gst-libs/gst/riff/riffutil.c #define and variable args
Compiler error in gst-libs/gst/riff/riffutil.c #define and variable args
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.6.3
Other opensolaris
: Normal critical
: 0.6.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-09-01 13:02 UTC by Damien Carbery
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use VARARGS in riffutil.c (436 bytes, patch)
2003-09-01 13:15 UTC, Damien Carbery
none Details | Review

Description Damien Carbery 2003-09-01 13:02:07 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.
Comment 1 Damien Carbery 2003-09-01 13:15:55 UTC
Created attachment 19642 [details] [review]
Use VARARGS in riffutil.c
Comment 2 David Schleef 2003-09-03 03:50:19 UTC
Fixed in 0.6 and HEAD by removing the unused definition.