https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108096
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Similar problem to PR 108071. The OUString type can only be constructed from char(&)[N] and const char(&)[N], not from const char*. The original code constructs initializer_list<OUString> and so each element is initialized directly from an array. The new code decays the arrays to initializer_list<const char*> and then fails to construct OUString objects from const char* const values.