Commit 35e89279 authored by Henner Zeller's avatar Henner Zeller Committed by Copybara-Service
Browse files

Work around errornous warning in gcc <= 12.2

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: 509358966
parent e84ac2d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment