gulrak / filesystem

An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GHC_NO_DIRENT_D_TYPE should be defined on Solaris

lhruska opened this issue · comments

Describe the bug
Filesystem fails to compile (filesystem/filesystem.hpp) on Solaris because of missing d_type in dirent structure.

Additional context
Doxygen issue

I'll look into it.

The reference: doxygen/doxygen@933c0ec is better as here also the GHC_OS_SOLARIS is set

I'll decided against another GHC_NO_DIRENT_D_TYPE and instead removed it and implemented compile time detection of the dirent variant. Got the whole test suite to successfully run on a Solaris 10 and hopefully will make a release until tomorrow.
Just need to figure out the GitHub workflow issue with VS2019.

@gulrak
CentOS 8 build is failed.
Solution: migrate from CentOS 8 to CentOS 8 Stream (like this e8a17c1)

Released with v1.5.12.