Closed TurnOffNOD closed 1 year ago
Thanks for spotting this! It has been incorporated with the latest commits.
Thanks for spotting this! It has been incorporated with the latest commits.
Hi, the problem still exists, the <cstdint>
header include should be inside utils.h file instead of utils.cpp file.
When make with a newer g++ version (g++-13) and clang++ version (clang++-16), there will be a build error, error output as follows:
Because actually there is only one type of error (
did you forget to ‘#include <cstdint>’
), I only paste part of the error output.As compiler suggests, I add
#include <cstdint>
to the filesrc/base/utils.cpp
, then the error is fixed and I can successfully build it.After I added this include, I build it with g++-12, it is compatible and build successfully.