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 #50

Closed
cristiancs opened this issue Feb 5, 2016 · 2 comments
Closed

Some warnings #50

cristiancs opened this issue Feb 5, 2016 · 2 comments

Comments

@cristiancs
Copy link

warning: deprecated conversion from string constant to 'char_' [-Wwrite-strings]
bool connect(char hostname[], char path[] = "/", int port = 80);
^
warning: deprecated conversion from string constant to 'char_' [-Wwrite-strings]
bool connect(char hostname[], char path[] = "/", int port = 80);
^
WebSocketClient.cpp:51:29: note: in expansion of macro 'pgm_read_word'
strcpy_P(buffer, (char*)pgm_read_word(&(WebSocketClientStringTable[index])));

Arduino 1.6.7

@Links2004
Copy link
Owner

which version and micro do you use?
the code has no function called "connect" or use the "strcpy_P" function.

@cristiancs
Copy link
Author

I have a mess with the folders, I think it's not your code.

El 06-02-2016, a las 6:01 a.m., Markus notifications@github.com escribió:

which version and micro do you use?
the code has no function called "connect" or use the "strcpy_P" function.


Reply to this email directly or view it on GitHub.

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