This attempts to fix compiling glyphy-demo.cc on Visual Studio since in C++11 one is not allowed to assign a constant string literal (char array) to a non-const char* without an explicit cast1. It's some fact of life, sadly--I've yet to find a compiler flag that does what the accepted answer in the given SO link says that some compilers support, so please let me know if there is one for Visual Studio.
Hi,
This attempts to fix compiling
glyphy-demo.cc
on Visual Studio since in C++11 one is not allowed to assign a constant string literal (char array) to a non-constchar*
without an explicit cast1. It's some fact of life, sadly--I've yet to find a compiler flag that does what the accepted answer in the given SO link says that some compilers support, so please let me know if there is one for Visual Studio.With blessings, thank you!