Compilation error with C++20 standard: invalid conversion from ‘const char8_t*’ to ‘const char*’

Description

Hello,

I am building ICU with the HEAD of gcc gcc (GCC) 10.0.1 20200211. When I try to compile with the C+20 support `-std=gnu+2a`, I get the following kind of compilation error:

From the C++ change proposal auther, this kind of conversion is not allowed anymore: https://stackoverflow.com/questions/57402464/is-c20-char8-t-the-same-as-our-old-char/57453713#57453713

Regards,
Stac

Assignee

Markus Scherer

Reporter

Laurent Stacul

Components

Labels

None

Reviewer

None

Priority

assess

Time Needed

Hours

Fix versions

Configure