Skip to content

fix(mavlink): protect Utils clip from Windows min/max macros - #9822

Open
Bartok9 wants to merge 1 commit into
microsoft:mainfrom
Bartok9:aerial/2026-07-28-mavlink-utils-stdminmax
Open

fix(mavlink): protect Utils clip from Windows min/max macros#9822
Bartok9 wants to merge 1 commit into
microsoft:mainfrom
Bartok9:aerial/2026-07-28-mavlink-utils-stdminmax

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 28, 2026

Copy link
Copy Markdown

Protects MavLinkCom Utils clip/limitAbsValue from windows.h min/max macros by parenthesizing std::min/max (same pattern as AirLib Utils).

AI-assisted; human-reviewed.

Claim: bartok
Operator: bartok
Campaign: aerial-drone

…acros

Parenthesize std::min/max so windows.h macros cannot break the templates.
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