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

Build warning #29

Closed
agladysh opened this issue Mar 29, 2011 · 1 comment
Closed

Build warning #29

agladysh opened this issue Mar 29, 2011 · 1 comment

Comments

@agladysh
Copy link

lib/hiredis/fmacros.h:4: warning: "_BSD_SOURCE" redefined
/usr/include/features.h:182: note: this is the location of the previous definition

Probably an #ifndef is in order.

P.S.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.10
Release:    10.10
Codename:   maverick

$ gcc --version
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@pietern
Copy link
Contributor

pietern commented Mar 29, 2011

Thanks for the elaborate report. I've updated fmacros.h and included an ifndef for _BSD_SOURCE.

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