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 743506 - [regression] 1.12.19 build dies with: plugin-gda.c:265:11: error: ‘GNM_STOCK_OK’ undeclared
[regression] 1.12.19 build dies with: plugin-gda.c:265:11: error: ‘GNM_STOCK...
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.12.x
Other Linux
: Normal major
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2015-01-26 00:23 UTC by David Ronis
Modified: 2015-01-26 13:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Ronis 2015-01-26 00:23:21 UTC
I just tried to upgrade my gnumeric/goffice to versions 1.12.19 and 0.12.19, respectivly.   Goffice build without complaint, while gnumeric dies with:

 ITMRG  ui.xml
plugin-gda.c: In function ‘query_connection_info’:
plugin-gda.c:265:11: error: ‘GNM_STOCK_OK’ undeclared (first use in this function)
           GNM_STOCK_OK, GTK_RESPONSE_ACCEPT,
           ^
plugin-gda.c:265:11: note: each undeclared identifier is reported only once for each function it appears in
plugin-gda.c:266:11: error: ‘GNM_STOCK_CANCEL’ undeclared (first use in this function)
           GNM_STOCK_CANCEL, GTK_RESPONSE_REJECT,
Comment 1 Morten Welinder 2015-01-26 01:40:38 UTC
Please try adding an include for "gui-util.h" to that file.
Comment 2 David Ronis 2015-01-26 13:25:44 UTC
Hi Morten,

I added the include as requested and the problem is solved; gnumeric compiles and runs.

Thanks for your help.

David