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

Some warnings when compiling the HomeKit server files #174

Open
AramVartanyan opened this issue Sep 21, 2020 · 0 comments
Open

Some warnings when compiling the HomeKit server files #174

AramVartanyan opened this issue Sep 21, 2020 · 0 comments

Comments

@AramVartanyan
Copy link

AramVartanyan commented Sep 21, 2020

Hi Maxim,

I just want to mention that with the most recent changes there is one warning present:

/project/components/common/homekit/src/port.c:58:62: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
mdns_server_set_addr4(mdns_server, ((struct in_addr)(&ip.ip)));

It sounds little bit disturbing. Is it ignorable?

And the other one is:

/project/components/common/homekit/src/json.c:85:9: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"

Regards

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