[committed] libstdc++: Remove use of __packed name conflicting with newlib.

Tomasz Kamiński tkaminsk@redhat.com
Wed Nov 26 09:29:19 GMT 2025


libstdc++-v3/ChangeLog:

	* include/std/chrono (chrono::__hash): Rename __packed to
	__res.
---
Pushed to trunk.

 libstdc++-v3/include/std/chrono | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.51.1



More information about the Libstdc++ mailing list