Qrome / marquee-scroller

Marquee Scroller Clock News Weather and More
https://www.thingiverse.com/thing:2867294
MIT License
324 stars 159 forks source link

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

Open depauw75 opened 1 year ago

depauw75 commented 1 year ago

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