[go: up one dir, main page]

Menu

#213 Fix implicit declaration of functions

v1.0_(example)
open
nobody
None
5
2020-09-09
2020-09-09
No

Hi,

Building xournal 0.4.8.2016 with clang on macOS encounters numerous implicit declaration of function problems:

implicit declaration of function 'read' is invalid in C99
implicit declaration of function 'write' is invalid in C99
implicit declaration of function 'close' is invalid in C99
implicit declaration of function 'make_dashed' is invalid in C99
implicit declaration of function 'set_cursor_busy' is invalid in C99

This type of problem used to be a warning but in Xcode 12 it becomes an error so it's important to fix them.

This was reported to MacPorts here: https://trac.macports.org/ticket/61147

I'm attaching the patch I used to fix the problem. Perhaps you can apply it to your repository.

1 Attachments

Discussion


Log in to post a comment.