gcc/libstdc++-v3/testsuite/17_intro
Giuseppe D'Angelo c9a6c1b5a7 libstdc++: do not use an unreserved name in _Temporary_buffer [PR119496]
As the PR observes, _Temporary_buffer was using an unreserved name for a
member function that can therefore clash with macros defined by the
user. Avoid that by renaming the member function.

	PR libstdc++/119496

libstdc++-v3/ChangeLog:

	* include/bits/stl_algo.h: Adjust calls to requested_size.
	* include/bits/stl_tempbuf.h (requested_size): Rename with
	an _M_ prefix.
	* testsuite/17_intro/names.cc: Add a #define for
	requested_size.

Signed-off-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2025-06-12 18:41:30 +02:00
..
headers libstdc++: Move atomic wait/notify entry points into the library 2025-05-30 10:02:28 +01:00
badnames.cc Update copyright years. 2025-01-02 11:59:57 +01:00
freestanding.cc Update copyright years. 2025-01-02 11:59:57 +01:00
names.cc libstdc++: do not use an unreserved name in _Temporary_buffer [PR119496] 2025-06-12 18:41:30 +02:00
names_fortify.cc libstdc++: testsuite: adjust name_fortify test for pre-defined _FORTIFY_SOURCE 2024-10-13 23:22:11 +01:00
names_pstl.cc
no_library_allocation.cc
shared_with_static_deps.cc libstdc++-v3 testsuite: fix malformed dg-require-static-libstdcxx directives 2025-03-27 20:00:34 -04:00
static.cc libstdc++-v3 testsuite: fix malformed dg-require-static-libstdcxx directives 2025-03-27 20:00:34 -04:00
tag_type_explicit_ctor.cc Update copyright years. 2025-01-02 11:59:57 +01:00
using_namespace_std.cc Update copyright years. 2025-01-02 11:59:57 +01:00
using_namespace_std_exp_neg.cc Update copyright years. 2025-01-02 11:59:57 +01:00
using_namespace_std_tr1_neg.cc Update copyright years. 2025-01-02 11:59:57 +01:00
versionconflict.cc