Bug 19088 – I am working with the package tinyredis 2.1.1 and I can't compile, dmd exit with exit code 1 because EWOULDBLOCK is not defined

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2018-07-16T08:41:59Z
Last change time
2024-12-13T18:59:33Z
Assigned to
No Owner
Creator
jakez rolland
Moved to GitHub: dmd#19456 →

Comments

Comment #0 by jakez.rolland — 2018-07-16T08:41:59Z
I am working with the package tinyredis 2.1.1 and I can't compile, dmd exit with exit code 1 because EWOULDBLOCK is not defined C:\Users\jakez\AppData\Local\dub\packages\tinyredis-2.1.1\tinyredis\source\tinyredis\connection.d(145,30): Error: undefined identifier EWOULDBLOCK dmd failed with exit code 1. I signaled it to the tinyredis developer too. I hope this will help
Comment #1 by greensunny12 — 2018-07-16T09:21:46Z
This looks like a problem with the library, not DMD. For a good bug report, we would need to have a minimal reproducible example (try dustmite) that typically is a few lines without dependencies on external projects. Sorry, but you might have a look at other redis projects in the meantime. Vibe.d has redis support for example.
Comment #2 by robert.schadek — 2024-12-13T18:59:33Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19456 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB