You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I use antlr4 cpp target in a project currently with cpp17. There is some features of cpp23 such as https://en.cppreference.com/w/cpp/utility/expected that I want to use which are not available in 17. So I planned to update all my dependencies to meet the requirements and went the turn of antlr. I was already on version 4.13.2 so nothing to except finally upgrading set(CMAKE_CXX_STANDARD 23)
When regenerating then build the parser I got an error:
Hi @Gashmob Yeah there is no easy fix. My plan is to scape the grammar from the spec which I have a copy of. I have a program that scapes the C++ spec pdfs and outputs a grammar. Not sure when I'll get the time to fix it though. Ken
Hi, I use antlr4 cpp target in a project currently with cpp17. There is some features of cpp23 such as https://en.cppreference.com/w/cpp/utility/expected that I want to use which are not available in 17. So I planned to update all my dependencies to meet the requirements and went the turn of antlr. I was already on version 4.13.2 so nothing to except finally upgrading
set(CMAKE_CXX_STANDARD 23)
When regenerating then build the parser I got an error:
This code is in generated parser from this g4 file:
I don't know if there is a simple way to fix this. If not, is it planned to fully support cpp23 for the generated code?
The text was updated successfully, but these errors were encountered: