boostorg / boostorg/multiprecision

Mac M3. boost 1.86.0 Boost.Multiprecision compile error

Open
#638 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
265
Forks
128
Avg merge
4h 48m
Merged PRs (30d)
2

Description

I use the boost header library in an Unreal Engine 5.4 C++ project on a Mac M3 computer, and a syntax error is prompted during the compilation process. How can I solve this problem? The error content is as follows:

0>is_backend.hpp(39,40): Error : statement expression not allowed at file scope
0> static constexpr bool value = sizeof(check(get())) == sizeof(double);
0> ^
0>is_backend.hpp(39,26): Error : constexpr variable 'value' must be initialized by a constant expression
0> static constexpr bool value = sizeof(check(get())) == sizeof(double);

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.