warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] SOLVED !
Posted: Wed 22. Sep 2021, 20:14
hello,
for those who encounter this warning :
just use a (char*) like it :
for those who encounter this warning :
Code: Select all
warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
TPCANBitrateFD BitrateFD = "your values";
Code: Select all
TPCANBitrateFD BitrateFD = (char*) "your values";