Skip to content

units 3.6.1

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Aug 00:36
· 18 commits to main since this release
aa4c448

Fixed

  • unit::value() declared its needs_fp compile-time selector as a static constexpr local. A static
    local in a constexpr function is only well-formed from GCC 13 / Clang 17, so GCC 11 and 12 rejected any
    translation unit that instantiated value() ("declared 'static' in 'constexpr' function"). The variable is
    used only as a compile-time condition, so dropping static is behavior-identical on every compiler while
    restoring the build on GCC 11/12. The declared support floor is unchanged (GCC 13).