oceanbase / miniob

MiniOB is a compact database that assists developers in understanding the fundamental workings of a database.
https://oceanbase.github.io/miniob/
Mulan Permissive Software License, Version 2
2.86k stars 1.01k forks source link

添加 '#include<cstdint>' 到 common/types.h第一行 #378

Closed 707state closed 3 weeks ago

707state commented 3 weeks ago

oponsuse tw上用g++编译,需要在src/observer/common/types.h中添加#include,main分支。可能是gcc版本问题?

hnwyllmm commented 3 weeks ago

这个问题确实与gcc版本有关系。gcc 12可以编译通过,但是13会失败。 可以在 common/types.h 中增加一个 #include 可以帮忙提个PR吗?

707state commented 3 weeks ago

这个问题确实与gcc版本有关系。gcc 12可以编译通过,但是13会失败。 可以在 common/types.h 中增加一个 #include 可以帮忙提个PR吗?

好的,已经提了

hnwyllmm commented 3 weeks ago

closed by #379