https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92411
Will Wray <wjwray at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wjwray at gmail dot com
--- Comment #3 from Will Wray <wjwray at gmail dot com> ---
This particular cast, from const char array to const char pointer, is implicit
so static_cast suffices (and the reinterpret_cast is implictly a static_cast).
Editing your code sample to change reinterpret_cast to static_cast
it is accepted without diagnostic on gcc, clang, msvc, icc
https://gcc.godbolt.org/z/6a694c
The final comment on the bug linked as a possible duplicate shows that
some fixes were committed last month, fixing other cases.
I guess this particular case can be closed.