Skip to content

cppfront compilation failing with msvc 2022 #1293

Closed Answered by vanceism7
vanceism7 asked this question in Q&A
Discussion options

You must be logged in to vote

I think what you said here is basically the answer:

Make sure you have a sufficiently new cl version. As of writing, it should be v19.

Edit:

Also, make sure that your up-to-date compiler is also using the up-to-date libs! In one case, I've gotten compiler errors the same as the original question even though my compiler was v19 because it was using v14 libs. See the log:

Microsoft (R) C/C++ Optimizing Compiler Version 19.31.31104 for x86
Copyright (C) Microsoft Corporation. All rights reserved.

cppfront.cpp
The contents of are available only in c++latest mode with concepts support;
see microsoft/STL#1814 for details.
The contents of are available only in c++latest mode with concepts support;

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@vanceism7
Comment options

Answer selected by vanceism7
Comment options

You must be logged in to vote
2 replies
@zaucy
Comment options

@vanceism7
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants