gcc 12.[12] emits a -Wrestrict warning if compiled with -O2/-O3 and -std=c++20 enabled when assigning a string with a single character to a std::string. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329 This is benign; disable this broken warning for up to 12.4. PiperOrigin-RevId: 509358966pull/11933/head
parent
e84ac2d3be
commit
35e89279bc
1 changed files with 7 additions and 0 deletions
Loading…
Reference in new issue