Skip to content

Fixes XSIMD_INLINE for compilers that don't have always_inline#1180

Merged
JohanMabille merged 1 commit into
xtensor-stack:masterfrom
DiamonDinoia:macro-fix
Oct 27, 2025
Merged

Fixes XSIMD_INLINE for compilers that don't have always_inline#1180
JohanMabille merged 1 commit into
xtensor-stack:masterfrom
DiamonDinoia:macro-fix

Conversation

@DiamonDinoia
Copy link
Copy Markdown
Contributor

@DiamonDinoia DiamonDinoia commented Oct 27, 2025

Small fix for compilers (and linters) that do not have the attribute always_inline. This avoids a cascade of false positives.

Clion nova seems to have a problem with this so many users might be affected: https://youtrack.jetbrains.com/issue/CPP-47004/hasattributealwaysinline-is-not-handled-properly

Small fix for compiler (and linters) that do not have the attribute always_inline.
This avoids a cascade of false positives.

Co-authored-by: JetBrains <contact@jetbrains.com>
Co-authored-by: Marco Barbone <mbarbone@flatironinstitute.org>
@JohanMabille
Copy link
Copy Markdown
Member

Thanks!

@JohanMabille JohanMabille merged commit cbf693c into xtensor-stack:master Oct 27, 2025
59 checks passed
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