https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77573
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC 11+ gives now: <source>:1:23: error: conversion from pointer type 'const wchar_t*' to arithmetic type 'wchar_t' in a constant expression I think this is fixed.