cmu-db / bustub

The BusTub Relational Database Management System (Educational)
https://15445.courses.cs.cmu.edu/
MIT License
3.92k stars 1.76k forks source link

Ignore format-truncation warning #712

Closed radustoenescu closed 1 month ago

radustoenescu commented 5 months ago

With clang-17 compilation fails due to:

src/type/timestamp_type.cpp:130:29: error: ‘%02d’ directive output may be truncated writing between 2 and 10 bytes into a region of size 5 [-Werror=format-truncation=]

Until it gets a proper fix, ignore this warning.

prashanthduvvada commented 1 month ago

Please check CMakeLists.txt for the same. It's suggested to use clang-14. I think it's due to the incompatibility with clang-17 that it may cause the issue.

Closing this as of now.