libstdc++-v3/ChangeLog:
PR libstdc++/116247
* include/bits/fs_path.h: Use __UINTPTR_TYPE__ instead of
uintptr_t.
* include/bits/shared_ptr_atomic.h: Likewise.
* include/ext/pointer.h: Include <stdint.h>.
~_List() = default;
_Type type() const noexcept
- { return _Type(reinterpret_cast<uintptr_t>(_M_impl.get()) & 0x3); }
+ { return _Type(reinterpret_cast<__UINTPTR_TYPE__>(_M_impl.get()) & 0x3); }
void type(_Type) noexcept;
{
// Either __shared_count<> or __weak_count<>
using __count_type = decltype(_Tp::_M_refcount);
+ using uintptr_t = __UINTPTR_TYPE__;
// _Sp_counted_base<>*
using pointer = decltype(__count_type::_M_pi);
# include <iosfwd>
#endif
+#include <stdint.h> // uintptr_t
#include <bits/stl_iterator_base_types.h>
#include <ext/cast.h>
#include <ext/type_traits.h>