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

ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #29

Open
wallarh opened this issue Nov 24, 2021 · 0 comments
Open

Comments

@wallarh
Copy link

wallarh commented Nov 24, 2021

D:_ARDUINO\LIB\ESP32CompositeVideo-master\CompositeVideoSimple\CompositeVideoSimple.ino: In function 'void draw()':
D:_ARDUINO\LIB\ESP32CompositeVideo-master\CompositeVideoSimple\CompositeVideoSimple.ino:75:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
graphics.print("hello!");
^
D:_ARDUINO\LIB\ESP32CompositeVideo-master\CompositeVideoSimple\CompositeVideoSimple.ino:76:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
graphics.print(" free memory: ");
^
D:_ARDUINO\LIB\ESP32CompositeVideo-master\CompositeVideoSimple\CompositeVideoSimple.ino:78:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
graphics.print("\nrendered frame: ");
^
D:_ARDUINO\LIB\ESP32CompositeVideo-master\CompositeVideoSimple\CompositeVideoSimple.ino:81:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
graphics.print("\n in hex: ");
^

@wallarh wallarh changed the title I2S_COMM_FORMAT_I2S_MSB is deprecated ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Nov 24, 2021
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