-
Notifications
You must be signed in to change notification settings - Fork 228
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
parser_tree.cpp example not compiling in VS 2022, as of PEGTL 3.2.6 #333
Comments
Do you mean version 3.2.6 instead of 2.3.6? Also, we have CI jobs for VS 2022 which are passing. See https://github.com/taocpp/PEGTL/actions/runs/3950723230. I'm therefore not sure what to do. Can you figure out a fix and create a PR? |
Yes, I meant 3.2.6 and 3.2.5 xD (I have already edited the issue and message) |
I experienced this on an older version of MSVC, but after upgrading to 19.34.31942.0, I can no longer reproduce. Looks like a fixed compiler bug. |
I think I may have found the issue, as I experienced it again. Looks like if you have internal::make_control< Node, Selector, Control >::template type And not be happy about |
It complains about
PEGTL\include\tao\pegtl\match.hpp(77,16): error C2065: 'type': undeclared identifier
.I think it has something to do with the unwind change introduced in PEGTL 3.2.6, but no idea. Working in PEGTL 3.2.5
The text was updated successfully, but these errors were encountered: