Skip to content

Conversation

@jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Dec 31, 2025

Illumos defines a DS macro in its regset.h:

https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/intel/sys/regset.h#L111

This conflicts with the DS template parameters used in structs in boost/geometry/strategies/line_interpolate. This patch renames the conflicting DS parameters to avoid the conflict.

Illumos defines a `DS` macro in its regset.h:

https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/intel/sys/regset.h#L111

This conflicts with the DS template parameters used in structs in
boost/geometry/strategies/line_interpolate. This patch renames the
conflicting DS parameters to avoid the conflict.
@jmcarp
Copy link
Contributor Author

jmcarp commented Jan 5, 2026

Note: we could also resolve this by undef-ing the conflicting macros on illumos. I'm happy to revise if you prefer that approach.

@alexey-milovidov alexey-milovidov self-assigned this Jan 5, 2026
@alexey-milovidov alexey-milovidov merged commit 2cad9a8 into ClickHouse:master Jan 5, 2026
@rschu1ze
Copy link
Member

rschu1ze commented Jan 6, 2026

@jmcarp Please also upstream this patch to Boost so we (ClickHouse) don't need to maintain it long-term.

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.

3 participants