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 595447 - compile on suncc because of zero-sized array and union
compile on suncc because of zero-sized array and union
Status: RESOLVED FIXED
Product: gjs
Classification: Bindings
Component: general
unspecified
Other Solaris
: Normal major
: ---
Assigned To: gjs-maint
gjs-maint
: 585461 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-09-17 12:00 UTC by Halton Huo
Modified: 2011-07-18 15:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to remove zero-sized array and union (697 bytes, patch)
2009-09-17 12:02 UTC, Halton Huo
none Details | Review

Description Halton Huo 2009-09-17 12:00:47 UTC
/opt/SunStudioExpress/bin/cc -DHAVE_CONFIG_H -I. -D_REENTRANT -D_PTHREADS -DXP_UNIX -DJS_THREADSAFE -I/export/home/halton/work/projects/gnome/gnome-shell/install/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/firefox/js -I/usr/include/mps -g -c gi/arg.c  -KPIC -DPIC -o .libs/libgjs_gi_la-arg.o
"gi/arg.c", line 464: zero or negative subscript
"gi/arg.c", line 464: zero or negative subscript
"gi/arg.c", line 464: zero or negative subscript
"gi/arg.c", line 464: zero-sized struct/union
Comment 1 Halton Huo 2009-09-17 12:02:59 UTC
Created attachment 143336 [details] [review]
patch to remove zero-sized array and union

Here comes patch, please review it.
Comment 2 Erwann Chenede 2010-05-26 13:37:11 UTC
*** Bug 585461 has been marked as a duplicate of this bug. ***