New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
msvc compile error C7631 #111
Comments
Boost is compiled with |
https://github.com/boostorg/parameter/blob/develop/include/boost/parameter/keyword.hpp#L716 namespace \
{ \
::boost::parameter::keyword<tag_namespace::name> const& name \
= ::boost::parameter::keyword<tag_namespace::name>::instance; \
} Add |
This seems to be a compiler bug because Please report this to MSVC developers. |
Already report here |
I have tried to build the current develop with the command you provided (plus Could you provide a reproducer? |
Sorry, I can't. This problem only arises when the code is sufficiently complex. Our projects have lots of C++ 20 modules, *.ixx. I use Boost.Log in small project, it compiles. |
As the previous thread was closed by Microsoft due to not enough input being provided by the author, I opened a new one with a small reproducer: https://developercommunity.visualstudio.com/t/error-C7631:-when-instantiating-template/10476144 |
Microsoft responded that this is not a compiler bug. |
After I upgrading msvc to latest version, get error C7631.
Microsoft Visual Studio Community 2022 (64-bit) - Version 17.5.0
Boost 1.81.0
The text was updated successfully, but these errors were encountered: