From da2590623a7918126c5be24fc2f6341576f8bd92 Mon Sep 17 00:00:00 2001 From: Alexey Sheplyakov Date: Fri, 7 Jul 2023 09:47:35 +0000 Subject: [PATCH] typed_graph.hpp: do include header which defines uintptr_t Fixes the following error: [ 94%] Building CXX object sources/ade/CMakeFiles/ade.dir/source/topological_sort.cpp.o cd /usr/src/RPM/BUILD/ade-0.1.1/loongarch64-alt-linux/sources/ade && /usr/bin/c++ -I/usr/src/RPM/BUILD/ade-0.1.1/sources/ade/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffa t-lto-objects -Werror -Wall -Wextra -Wconversion -Wshadow -Wno-error=cpp -Wformat -Wformat-security -fPIC -fstack-protector-strong -std=gnu++11 -MD -MT sources/ade/CMakeFiles/ade.dir/source/topological_sort.cpp.o -MF CMakeFiles/ade.dir/source/topological_sort.cpp.o.d -o CMakeFiles/ade.dir/source/topological_sort.cpp.o -c /usr/src/RPM/BUILD/ade-0.1.1/sources/ade/source/topological_sort.cpp In file included from /usr/src/RPM/BUILD/ade-0.1.1/sources/ade/include/ade/passes/topological_sort.hpp:17, from /usr/src/RPM/BUILD/ade-0.1.1/sources/ade/source/topological_sort.cpp:7: /usr/src/RPM/BUILD/ade-0.1.1/sources/ade/include/ade/typed_graph.hpp:101:10: error: 'uintptr_t' in namespace 'std' does not name a type 101 | std::uintptr_t m_srcGraph; | ^~~~~~~~~ --- sources/ade/include/ade/typed_graph.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/ade/include/ade/typed_graph.hpp b/sources/ade/include/ade/typed_graph.hpp index d9676e6..81f7b0f 100644 --- a/sources/ade/include/ade/typed_graph.hpp +++ b/sources/ade/include/ade/typed_graph.hpp @@ -19,6 +19,7 @@ #include "graph.hpp" #include "typed_metadata.hpp" +#include namespace ade { -- 2.33.8