https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80729
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Not warning is correct because the type of a string literal is array of const char while the type it's being cast to is const char*.