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 when compile #23

Open
vienhx opened this issue Jul 5, 2022 · 1 comment
Open

Error when compile #23

vienhx opened this issue Jul 5, 2022 · 1 comment

Comments

@vienhx
Copy link

vienhx commented Jul 5, 2022

I get some errors while compiling:

#17 43.90 ../libmemcached/server.cc: In function 'const char* memcached_server_ipaddress(memcached_instance_st)':
#17 43.90 ../libmemcached/server.cc:268:11: error: could not convert 'self' from 'const memcached_instance_st' to 'bool'
#17 43.90    if (self)
#17 43.90            ^
#17 43.90 ../libmemcached/server.cc:270:16: error: base operand of '->' has non-pointer type 'const memcached_instance_st'
#17 43.90      return self->_ipaddress;

It seems caused by PR #18

@dragos-dumi
Copy link

I also get an error when compiling
../libtest/cmdline.cc:65:15: error: 'environ' was declared 'extern' and later 'static' [-fpermissive]
65 | static char **environ= NULL;

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