Skip to content

More MinGW compatibility fixes to the source code#46

Merged
slipher merged 6 commits into
masterfrom
slipher/mingw-compat
Jul 14, 2026
Merged

More MinGW compatibility fixes to the source code#46
slipher merged 6 commits into
masterfrom
slipher/mingw-compat

Conversation

@slipher

@slipher slipher commented Jul 14, 2026

Copy link
Copy Markdown
Member

Some other errors and warnings I ran into when attempting a MinGW build. Fix headers, compiler attributes, etc. Notably not fixed: the THREAD macro for the thread-local attribute.

slipher added 6 commits July 13, 2026 19:10
It was a workaround for std::min/max missing from <algorithm> in old
versions.
The name conflicted with one defined in Windows headers. The definition
gets included on MinGW.
FORCEINLINE conflicted with a macro in MinGW's Windows headers.

@illwieckz illwieckz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@slipher slipher merged commit b9252ef into master Jul 14, 2026
@slipher slipher deleted the slipher/mingw-compat branch July 14, 2026 08:03
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