PimenovAlexander/corecvs

filesystem error

janchk opened this issue · 1 comments

Code does not properly handle different cxx standards.

/home/corecvs/core/../core/utils/global.h:405:12: fatal error: filesystem: No such file or directory
 #  include <filesystem>
            ^~~~~~~~~~~~
compilation terminated.

Probably this does not work as expected.

#if defined(__GNUC__)
# if __cplusplus >= 201703L
#  include <filesystem>
   namespace fs = std::filesystem;
# else
#  include <experimental/filesystem>
   namespace fs = std::experimental::filesystem;
# endif

Seems like this is corrected by fallback implementation. Closing the issue.