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 239176 - Error when build gal/gal/menus/gal-view-instance.c using Forte
Error when build gal/gal/menus/gal-view-instance.c using Forte
Status: RESOLVED FIXED
Product: GAL
Classification: Deprecated
Component: ETable
trunk
Other All
: Normal enhancement
: 1.4.x
Assigned To: Mike Kestner
Evolution QA team
Depends on:
Blocks: 239034
 
 
Reported: 2003-03-06 07:59 UTC by philip zhao
Modified: 2003-03-21 17:34 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description philip zhao 2003-03-06 07:59:14 UTC
~/gal/gal/menus/gal-view-instance.c    

static void
add_popup_radio_item (EPopupMenu *menu_item,
                      gchar *title,
                      GtkSignalFunc fn,
                      gpointer closure,
                      gboolean value)
{
       const EPopupMenu menu_item_struct =        //delete const here
                E_POPUP_RADIO_ITEM_CC (title,
                                       fn,
                                       closure,
                                       0,
                                       value);    //error with 'value'

        e_popup_menu_copy_1 (menu_item, &menu_item_struct);
}

When compile these lines , Forte will error.

In order to pass, we removed 'const' and changed 'value' to 1 (or 0 since
it's a boolean.). This may need more work.
Comment 1 Henry Jia 2003-03-19 04:04:50 UTC
This syntax is only legal in C++. GNU C allows it as an
extension. Forte cc rejects.
Comment 2 Mike Kestner 2003-03-21 17:34:56 UTC
patch committed to trunk.  thanks