Menu

#9 Fix build of version 1.3.0 with llvm

Unstable (example)
closed
nobody
None
5
2020-12-09
2020-12-02
No

Hello,

Here is a proposed patch to avoid nested functions and fix build with llvm :

callbacks.c:44:64: error: function definition is not allowed here
        void _set_label_selectable(gpointer data, gpointer user_data) {
                                                                      ^
callbacks.c:52:27: error: use of undeclared identifier '_set_label_selectable'; did you mean 'dialog_set_labels_selectable'?
        g_list_foreach(children, _set_label_selectable, NULL);
                                 ^~~~~~~~~~~~~~~~~~~~~
                                 dialog_set_labels_selectable

Best regards,

Ganael.

1 Attachments

Discussion

  • Piero Orsoni

    Piero Orsoni - 2020-12-09
    • status: open --> closed
     
  • Piero Orsoni

    Piero Orsoni - 2020-12-09

    committed to svn, many thanks!

     

Log in to post a comment.