On Fri, 2 Aug 2024 at 02:29, Andrew Pinski <pins...@gmail.com> wrote: > > On Thu, Aug 1, 2024 at 2:14 PM Jonathan Wakely <jwak...@redhat.com> wrote: > > > > This will probably need a gcc-15/porting_to.html entry at some point. > > Every time we remove transitive includes of <cstdint> it breaks > > somebody! > > Yes including testcases, libstdc++-prettyprinters/shared_ptr.cc does > not compile due to this change even:
Oops, looks like I missed the UNRESOLVED lines in the log by only searching for FAIL. Fixed with the attached patch, pushed to trunk.
commit 06201faa6376cade5a286850370dd070c1573531 Author: Jonathan Wakely <jwak...@redhat.com> Date: Fri Aug 2 08:27:09 2024 libstdc++: Add missing <cstdint> to test libstdc++-v3/ChangeLog: * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Include <cstdint>. diff --git a/libstdc++-v3/testsuite/libstdc++-prettyprinters/shared_ptr.cc b/libstdc++-v3/testsuite/libstdc++-prettyprinters/shared_ptr.cc index a9910e6a56d..5ff206a145b 100644 --- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/shared_ptr.cc +++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/shared_ptr.cc @@ -20,6 +20,7 @@ #include <memory> #include <iostream> +#include <cstdint> template<class T> void