opencv / ade

Apache License 2.0
59 stars 49 forks source link

add missing <cstdint> header inclusion (gcc-13 support) #25

Closed trofi closed 1 year ago

trofi commented 2 years ago

Without the change ade build fails on this week's gcc-13 snapshot as:

[ 77%] Building CXX object sources/ade/CMakeFiles/ade.dir/source/topological_sort.cpp.o
In file included from ade/sources/ade/include/ade/passes/topological_sort.hpp:17,
                 from ade/sources/ade/source/topological_sort.cpp:7:
ade/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;
      |          ^~~~~~~~~
marxin commented 2 years ago

May I please ping this? It's obvious fix.

dmatveev commented 1 year ago

Merged, thanks!