Skip to content

1.18.1 breaks fuse (not macfuse) support on macOS #169

@Aleksanaa

Description

@Aleksanaa

The commit 3293dc9 breaks building against fuse (https://github.com/libfuse/libfuse) on macOS, throwing

bindfs.c:1794:19: error: incompatible function pointer types initializing 'int (*)(const char *, const char *, const char *, size_t, int, uint32_t)' (aka 'int (*)(const char *, const char *, const char *, unsigned long, int, unsigned int)') with an expression of type 'int (const char *, const char *, const char *, size_t, int)' (aka 'int (const char *, const char *, const char *, unsigned long, int)') [-Wincompatible-function-pointer-types]
 1794 |     .setxattr   = bindfs_setxattr,
      |                   ^~~~~~~~~~~~~~~
bindfs.c:1795:19: error: incompatible function pointer types initializing 'int (*)(const char *, const char *, char *, size_t, uint32_t)' (aka 'int (*)(const char *, const char *, char *, unsigned long, unsigned int)') with an expression of type 'int (const char *, const char *, char *, size_t)' (aka 'int (const char *, const char *, char *, unsigned long)') [-Wincompatible-function-pointer-types]
 1795 |     .getxattr   = bindfs_getxattr,
      |                   ^~~~~~~~~~~~~~~

Reverting that commit resolves the issue.

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