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
Cannot compile 1.72.0 on Windows using Visual Studio 2019 with /std:c++latest #325
Comments
Would you mind sharing the error shown when you tried compiling 1.72.0? It
would be more useful since I am unable to reproduce the same error.
…On Thu, Feb 6, 2020 at 12:55 PM Felix Hao ***@***.***> wrote:
The source of boost library is acquired from
https://www.boost.org/users/history/version_1_72_0.html .
As the title indicates, compilation fails on boost 1.72.0 while 1.71.0
works fine with /std:c++latest on Visual Studio 2019.
Not sure this is a bug with Visual Studio or boost library. I opened an
issue for Visual Studio team, too.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/boostorg/boost/issues/369?email_source=notifications&email_token=AJWKDRR554WZXZW5TF3M2OTRBO3PXA5CNFSM4KQX4FO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILNRUBQ>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWKDRST3S3SLGMGDYHOHZ3RBO3PXANCNFSM4KQX4FOQ>
.
|
It prints a lot of errors. The first ones are:
The error is definitely reproducible. Another coworker of mine also faces the same issue. |
The full error log for reference: |
I found a minimal reproducible case: #include <boost/asio.hpp>
int main() {
return 0;
} Compiling this with
|
This might be a duplicate of #312 |
I experienced the exact same problem and confirm that boost 1.72.0 w/ VS-2019 compiled fine when the language flag is set to /std:c++17 but failed when set to /std:c++latest |
This issue was moved by chriskohlhoff to chriskohlhoff/asio#747. |
The source of boost library is acquired from https://www.boost.org/users/history/version_1_72_0.html .
As the title indicates, compilation fails on boost 1.72.0 while 1.71.0 works fine with /std:c++latest on Visual Studio 2019. And /std:c++17 works fine too.
Not sure this is a bug with Visual Studio or boost library. I opened an issue for Visual Studio team, too.
The text was updated successfully, but these errors were encountered: