* Orion Poplawski: > https://www.x.org/releases/X11R7.7/doc/libXt/intrinsics.html > > Describes: > > typedef struct _XtActionsRec { > String string; > XtActionProc proc; > } XtActionsRec, *XtActionList; > > being initialized with: > > > XtActionsRec actionTable[] = { > {"Set", Set}, > {"Unset", Unset}, > {"Highlight", Highlight}, > {"Unhighlight", Unhighlight} > {"Notify", Notify}, > }; > > But this is no longer valid it seems for at least a couple > reasons. First the initializer: > > interface/x_interface.c: In function ‘check_app_res’: > interface/x_interface.c:617:29: error: storage class specified for > parameter ‘new_actions’ > 617 | static XtActionsRec new_actions[] = { > | ^~~~~~~~~~~ > interface/x_interface.c:617:9: error: parameter ‘new_actions’ is initialized > 617 | static XtActionsRec new_actions[] = { > | ^~~~~~ > interface/x_interface.c:617:45: error: variable-sized object may not > be initialized except with an empty initializer > 617 | static XtActionsRec new_actions[] = { > | ^ It's a missing semicolon on a function protoype, the lines declaring expose_ccontour or expose_colorbar: void do_set_max_from_curdata(Widget w, XButtonEvent *e, String *p, Cardinal \ *n ); void expose_ccontour( Widget w, XtPointer client_data, XExposeEvent *event, Boo\ lean *continue_to_dispatch ) void expose_colorbar( Widget w, XtPointer client_data, XExposeEvent *event, Boo\ lean *continue_to_dispatch ) void testf(Widget w, XButtonEvent *e, String *p, Cardinal *n ); Thanks, Florian -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue