Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: implicit declaration of function 'daemonize' #7

Open
ryandesign opened this issue Jul 16, 2021 · 1 comment
Open

error: implicit declaration of function 'daemonize' #7

ryandesign opened this issue Jul 16, 2021 · 1 comment

Comments

@ryandesign
Copy link

When using -Werror=implicit-function-declaration in CFLAGS (or when using the compiler shipped with Xcode 12 or later which has that behavior by default) building memcacheq 0.2.1 fails:

memcacheq.c:2222:15: error: implicit declaration of function 'daemonize' [-Werror,-Wimplicit-function-declaration]
        res = daemonize(maxcore, settings.verbose);
              ^

daemonize is defined in daemon.c but there is no prototype of that function visible to memcacheq.c.

This was originally reported to MacPorts.

@cooljeanius
Copy link

This was originally reported to MacPorts.

(by me)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants