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 614922 - suncc compile fails on gdaui-entry-shell.c
suncc compile fails on gdaui-entry-shell.c
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:13 UTC by Halton Huo
Modified: 2010-04-06 17:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for bug #614922 (905 bytes, patch)
2010-04-06 04:15 UTC, Halton Huo
none Details | Review

Description Halton Huo 2010-04-06 04:13:49 UTC
I'm compiling libgda git-master and 4.1.4 code with suncc under OpenSolaris, both has following error:

$ make
[...]
 /opt/SunStudioExpress/bin/cc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"4.1.5\" "-DPACKAGE_STRING=\"GNU Data Access 4.1.5\"" -DPACKAGE_BUGREPORT=\"gnome-db-list@gnome.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG_INT=4 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DGETTEXT_PACKAGE=\"libgda-4.0\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_UI=1 -DHAVE_GTKSOURCEVIEW=1 -DHAVE_UNIQUE=1 -DISO_CODES_PREFIX=\"/usr\" "-DENABLE_BINRELOC=/**/" -DHAVE_LIBPTHREAD=1 -DBR_PTHREAD=1 -DHAVE_LDAP=1 -DHAVE_JAVA=1 -DHAVE_LIBSOUP=1 -DHAVE_READLINE=1 -DHAVE_HISTORY=1 -DGDA_DEBUG=1 -I. -I../.. -I../../libgda -I./.. -I../.. -I../../libgda-ui -D_REENTRANT -D_PTHREADS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DLIBGDA_ABI_NAME=\"libgda-4.0\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_PTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -D_REENTRANT -D_PTHREADS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_GIO -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -g -c gdaui-entry-shell.c  -KPIC -DPIC -o .libs/gdaui-entry-shell.o
"gdaui-entry-shell.c", line 425: identifier redeclared: gdaui_entry_shell_refresh_attributes
        current : static function(pointer to struct _GdauiEntryShell {struct _GtkViewport {..} object, pointer to struct _GdauiEntryShellPriv {..} priv}) returning enum  {GDA_VALUE_ATTR_UNUSED(512), GDA_VALUE_ATTR_NO_MODIF(256), GDA_VALUE_ATTR_HAS_VALUE_ORIG(128), GDA_VALUE_ATTR_DATA_NON_VALID(64), GDA_VALUE_ATTR_ACTIONS_SHOWN(32), GDA_VALUE_ATTR_IS_UNCHANGED(16), GDA_VALUE_ATTR_CAN_BE_DEFAULT(8), GDA_VALUE_ATTR_IS_DEFAULT(4), GDA_VALUE_ATTR_CAN_BE_NULL(2), GDA_VALUE_ATTR_IS_NULL(1), GDA_VALUE_ATTR_NONE(0)}
        previous: function(pointer to struct _GdauiEntryShell {struct _GtkViewport {..} object, pointer to struct _GdauiEntryShellPriv {..} priv}) returning unsigned int : "gdaui-entry-shell.c", line 322
"gdaui-entry-shell.c", line 322: warning: static function called but not defined: gdaui_entry_shell_refresh_attributes()
cc: acomp failed for gdaui-entry-shell.c
make[3]: *** [gdaui-entry-shell.lo] Error 1
make[3]: Leaving directory `/export/home/halton/work/projects/gnome/libgda/libgda/libgda-ui/data-entries'
Comment 1 Halton Huo 2010-04-06 04:15:23 UTC
Created attachment 158016 [details] [review]
patch for bug #614922
Comment 2 malerba 2010-04-06 17:06:07 UTC
It's no in git/master, thanks!