Open
Description
我的gcc版本是 13.3.0,使用print.h和cppdemangle.h时遇到了print.h少包含头文件的问题,如下
In file included from main.cpp:2:
print.h: In function ‘std::ostream& _print_details::operator<<(std::ostream&, const print_adaptor<T, >&&)’:
print.h:312:64: error: ‘uintptr_t’ does not name a type
312 | os << "[object 0x" << std::hex << reinterpret_cast<uintptr_t>(
| ^~~~~~~~~
print.h:10:1: note: ‘uintptr_t’ is defined in header ‘’; did you forget to ‘#include ’?
9 | #include
+++ |+#include
10 | // #include
Metadata
Metadata
Assignees
Labels
No labels