Skip to content

Windows msvc#105

Closed
dirkhh wants to merge 5 commits intoSubsurface-DS9from
msvc-usb-storage
Closed

Windows msvc#105
dirkhh wants to merge 5 commits intoSubsurface-DS9from
msvc-usb-storage

Conversation

@dirkhh
Copy link
Collaborator

@dirkhh dirkhh commented Feb 25, 2026

This should deal with the comments on #104

dirkhh and others added 5 commits February 15, 2026 20:12
The Garmin / usb-storage code uses a bunch of POSIX functions that need Windows
workarounds.

Also, msvc throws up on arrays of structures with variable fields. So work
around that.

And the vcxproj file was of course missing the new files that we
had added for our fork.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Michael Keller <github@ike.ch>
Signed-off-by: Michael Keller <github@ike.ch>
We can't do this the way it was done with gcc/clang as that exploited
an extension that isn't available in msvc; but this should work on all
of the compilers and do fundamentally the same thing.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
@dirkhh dirkhh requested review from mikeller and removed request for mikeller February 25, 2026 21:55
@dirkhh dirkhh closed this Feb 25, 2026
@dirkhh dirkhh deleted the msvc-usb-storage branch February 25, 2026 22:48
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