-
Notifications
You must be signed in to change notification settings - Fork 192
Closed
Labels
available on masterFix is done on master branch, issue closed on next releaseFix is done on master branch, issue closed on next releasebugSomething isn't workingSomething isn't working
Milestone
Description
Hi.
Believe I've found a bug:
Error C2065 'DWORD': undeclared identifier ghc\filesystem.hpp(1089)
Noticed this now (on Windows, vs2019) when upgrading from an older release of your repo.
So I get this when using the forward declarations. Apparently it now relies on having DWORD already defined which wasn't the case before. My application does not include windows.h, hence there's no DWORD.
I see a few options:
- Change the declaration of make_system_error() to not use DWORD.
- Include windows.h always, not only for implementation.
- typedef unsigned long DWORD if not already defined.
Not sure what works best here but the latter two are probably best to avoid if possible.
Metadata
Metadata
Assignees
Labels
available on masterFix is done on master branch, issue closed on next releaseFix is done on master branch, issue closed on next releasebugSomething isn't workingSomething isn't working