Skip to content

error: assignment to ‘GList * (*)(PurpleConnection *)’ from incompatible pointer type ‘GList * (*)(void)’ while making #553

Description

@jojoharry16

Here is the error log:

facebook.c:1640:25: error: assignment to ‘GList * (*)(PurpleConnection *)’ {aka ‘struct _GList * (*)(struct _PurpleConnection *)’} from incompatible pointer type ‘GList * (*)(void)’ {aka ‘struct _GList * (*)(void)’} [-Wincompatible-pointer-types]
 1640 |         pinfo.chat_info = fb_chat_info;
      |                         ^
facebook.c:1253:1: note: ‘fb_chat_info’ declared here
 1253 | fb_chat_info()
      | ^~~~~~~~~~~~
make[1]: *** [Makefile:582: libfacebook_la-facebook.lo] Error 1

I downloaded the tar file, extracted, configured, and made it just like in the wiki, but this comes up within a second of trying to make. Any help appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions