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

warning: ISO C++ forbids converting a string constant to 'char* #266

Open
depauw75 opened this issue Mar 9, 2023 · 0 comments
Open

warning: ISO C++ forbids converting a string constant to 'char* #266

depauw75 opened this issue Mar 9, 2023 · 0 comments

Comments

@depauw75
Copy link

depauw75 commented Mar 9, 2023

Hello,

I've donwloaded the last version of the scroller. When compiling it, I got these warnings for the username and password:
In file included from C:\Users\Farmad\Desktop\test_platform_1\test_platform_1.ino:24:
C:\Users\Farmad\Desktop\test_platform_1\settings.h:66:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
66 | char* www_username = "admin"; // User account for the Web Interface

warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
67 | char* www_password = "password"; // Password for the Web Interface

But everything works great!
Kind regards,
Christophe

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