Closed avilleret closed 3 months ago
Yes, I believe this is a compiler (or C++ library setup) issue just like #189 . If you notice, all the errors come from the C++ library headers. It seems they are not fully conformable with C++20 (in particular concepts). DataFrame requires C++23.
The reason you can compile that DataFrame library is because most of the codebase is header-only. The only source file that is archived into the library is the DateTime source file that doesn't refer to any code in DataFrame.h. If you compile all the test executables, then you are in business
Under Linux (Manjaro 6.6.19-1),
clang
fails to build a simple.cpp
file includingDataFrame/DataFrame.h
. I'm testing with DataFrame version fd56c03 (which builds fine with the same clang btw).Here is the error I got:
here is the
DatabaseProcessor.cpp
:and the CMakeLists.txt I'm using :
It seems to be related to this comment in Discussion: https://github.com/hosseinmoein/DataFrame/discussions/189#discussioncomment-8622395
While it looks like a compiler issue, I'm surprised to be able to build the library itself with it. Here the library build's log for the record: