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

Linux compiler warning #1

Open
NickNaso opened this issue Jul 6, 2017 · 0 comments
Open

Linux compiler warning #1

NickNaso opened this issue Jul 6, 2017 · 0 comments
Assignees

Comments

@NickNaso
Copy link
Owner

NickNaso commented Jul 6, 2017

On Linux system compiler return these warnings:

../src/deps/nghttp2/lib/nghttp2_helper.c:33:16: warning: implicit declaration of function ‘htons’ [-Wimplicit-function-declaration]
   uint16_t x = htons(n);
                ^~~~~
../src/deps/nghttp2/lib/nghttp2_helper.c: In function ‘nghttp2_put_uint32be’:
../src/deps/nghttp2/lib/nghttp2_helper.c:38:16: warning: implicit declaration of function ‘htonl’ [-Wimplicit-function-declaration]
   uint32_t x = htonl(n);
                ^~~~~
../src/deps/nghttp2/lib/nghttp2_helper.c: In function ‘nghttp2_get_uint16’:
../src/deps/nghttp2/lib/nghttp2_helper.c:45:10: warning: implicit declaration of function ‘ntohs’ [-Wimplicit-function-declaration]
   return ntohs(n);
          ^~~~~
../src/deps/nghttp2/lib/nghttp2_helper.c: In function ‘nghttp2_get_uint32’:
../src/deps/nghttp2/lib/nghttp2_helper.c:51:10: warning: implicit declaration of function ‘ntohl’ [-Wimplicit-function-declaration]
   return ntohl(n);
          ^~~~~

Investigate and try to remove.

@NickNaso NickNaso self-assigned this Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant