Closed yurivict closed 3 years ago
clang-10 fails:
openTSNE/dependencies/annoy/annoymodule.cc:180:12: error: cast from pointer to smaller type 'int' loses information return (int) NULL; ^~~~~~~~~~ 1 error generated.
NULL is nullptr in modern C++ and can't be cast to int.
NULL
nullptr
int
Version: 0.5.1 OS: FreeBSD 12.2
Please refer to https://github.com/pavlin-policar/openTSNE/issues/161.
clang-10 fails:
NULL
isnullptr
in modern C++ and can't be cast toint
.Version: 0.5.1 OS: FreeBSD 12.2