Skip to content

Fix std::max build break under function-like min/max macros#14

Open
Mikusch wants to merge 1 commit into
Kenzzer:polishingfrom
Mikusch:std-build
Open

Fix std::max build break under function-like min/max macros#14
Mikusch wants to merge 1 commit into
Kenzzer:polishingfrom
Mikusch:std-build

Conversation

@Mikusch

@Mikusch Mikusch commented Jun 25, 2026

Copy link
Copy Markdown

Function-like min/max macros (e.g. <windows.h>) currently expand these, leading to errors when building. Also include <algorithm> directly instead of relying on another include.

https://stackoverflow.com/a/29742671

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.

1 participant