From: Tomasz KamiƄski Date: Wed, 26 Nov 2025 09:27:18 +0000 (+0100) Subject: libstdc++: Remove use of __packed name conflicting with newlib. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b1e6fd80c3d64e412b02676b69e8ed3a011beb27;p=thirdparty%2Fgcc.git libstdc++: Remove use of __packed name conflicting with newlib. libstdc++-v3/ChangeLog: * include/std/chrono (chrono::__hash): Rename __packed to __res. --- diff --git a/libstdc++-v3/include/std/chrono b/libstdc++-v3/include/std/chrono index 0cfad2ce1d0..8dd79799a96 100644 --- a/libstdc++-v3/include/std/chrono +++ b/libstdc++-v3/include/std/chrono @@ -3401,8 +3401,8 @@ namespace __detail return chrono::__int_hash(chrono::__as_int(__vals)...); else { - auto __packed = chrono::__pack_ints(chrono::__as_int(__vals)...); - return chrono::__int_hash(__packed); + auto __res = chrono::__pack_ints(chrono::__as_int(__vals)...); + return chrono::__int_hash(__res); } } } // namespace chrono