microsoft / DiskANN

Graph-structured Indices for Scalable, Fast, Fresh and Filtered Approximate Nearest Neighbor Search
Other
1.06k stars 214 forks source link

fix stdint import to build on g++13 #576

Open MRandl opened 1 month ago

MRandl commented 1 month ago

Reference Issues

Fixes #570

What does this implement/fix? Briefly explain your changes.

ann_exception.h contained a reference to the type uint32_t, which is imported implicitly by g++9 but not g++13, resulting in build failure. We patch this by explicitly including stdint.h (and not cstdint, to avoid changing the namespace in the signatures, upon which some people might depend)

MRandl commented 1 month ago

@microsoft-github-policy-service agree company="EPFL"