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

compile error #1

Open
cclements opened this issue Nov 3, 2013 · 0 comments
Open

compile error #1

cclements opened this issue Nov 3, 2013 · 0 comments

Comments

@cclements
Copy link

CRDA fails to build for me on ubuntu 13.10, with the following errors:

make

GEN keys-gcrypt.c
Trusted pubkeys: pubkeys/linville.key.pub.pem
CC libreg.so
reglib.c: In function ‘reglib_parse_country_simple’:
reglib.c:1130:22: error: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
memset(rd, 0, sizeof(rd));
^
reglib.c: In function ‘reglib_parse_country_dfs’:
reglib.c:1152:22: error: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
memset(rd, 0, sizeof(rd));
^
cc1: all warnings being treated as errors
make: *** [libreg.so] Error 1

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

1 participant