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 614924 - suncc does not allow zero sized array
suncc does not allow zero sized array
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: general
4.1.x
Other opensolaris
: Normal major
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-06 04:32 UTC by Halton Huo
Modified: 2010-04-06 17:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for bug #614924 (1.62 KB, patch)
2010-04-06 04:34 UTC, Halton Huo
none Details | Review

Description Halton Huo 2010-04-06 04:32:58 UTC
I'm building libgda master code with suncc under OpenSolaris. Same error happens to
 tools/browser/data-manager/data-console.c
 tools/browser/query-exec/query-console.c
 tools/browser/schema-browser/table-preferences.c

$ make 
[...]
"table-preferences.c", line 74: zero or negative subscript
"table-preferences.c", line 74: warning: syntax error:  empty initializer
"table-preferences.c", line 113: warning: argument #6 is incompatible with prototype:
        prototype: pointer to void : "/usr/include/glib-2.0/gobject/gsignal.h", line 385
        argument : pointer to function(void) returning void
"table-preferences.c", line 766: warning: argument #6 is incompatible with prototype:
        prototype: pointer to void : "/usr/include/glib-2.0/gobject/gsignal.h", line 371
        argument : pointer to function(void) returning void
"table-preferences.c", line 780: warning: argument #6 is incompatible with prototype:
        prototype: pointer to void : "/usr/include/glib-2.0/gobject/gsignal.h", line 378
        argument : pointer to function(void) returning void
cc: acomp failed for table-preferences.c
make[3]: *** [table-preferences.lo] Error 1
make[3]: Leaving directory `/export/home/halton/work/projects/gnome/libgda/libgda/tools/browser/schema-browser'
Comment 1 Halton Huo 2010-04-06 04:34:41 UTC
Created attachment 158018 [details] [review]
patch for bug #614924
Comment 2 malerba 2010-04-06 17:07:15 UTC
It's now in git/master, thanks!