Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation of the directory iteration code on additional POSIX based platforms #249

Merged
merged 2 commits into from
Jan 18, 2021

Conversation

s-ludwig
Copy link
Member

See #242

@Geod24
Copy link
Contributor

Geod24 commented Jan 18, 2021

source/vibe/core/file.d(1065,46): Error: undefined identifier `AT_SYMLINK_NOFOLLOW`
source/vibe/core/file.d(1048,17): Error: undefined identifier `timespec`
source/vibe/core/file.d(1059,12): Error: static assert:  "Found no nanoseconds fields in struct stat"
source/vibe/core/file.d(1072,24):        instantiated from here: `getTimeField!"st_mtim"`
dmd failed with exit code 1.

#250

I fixed the AT_SYMLINK_NOFOLLOW upstream but you'll need a workaround for the time being.

@s-ludwig
Copy link
Member Author

Cherry picked the workflow commit from #250 and fixed another error.

@s-ludwig
Copy link
Member Author

Okay, not sure what was going on with timespec, but it's now down to this:

Linking...
cc: No such file or directory
Error: linker exited with status 255

@s-ludwig
Copy link
Member Author

Okay, let me just drop the workflow commit, so that this can get merged and then #250 is the one that adds the workflow...

@s-ludwig s-ludwig merged commit 397527a into master Jan 18, 2021
@Geod24 Geod24 deleted the fix_listdir_posix branch January 18, 2021 13:47
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants