Closed
Description
command:
mkdir -p /temp/cppfront-git && cd /temp/cppfront-git && git clone https://github.com/hsutter/cppfront.git && cd cppfront/source && g++ cppfront.cpp -std=c++20 -o cppfront
results in:
Cloning into 'cppfront'...
cppfront.cpp:656:23: error: declaration of 'const cpp2::token* cpp2::cppfront::arg_info::token' changes meaning of 'token' [-fpermissive]
656 | token const* token = nullptr;
| ^~~~~
In file included from parse.h:21,
from sema.h:21,
from cppfront.cpp:18:
lex.h:191:7: note: 'token' declared here as 'class cpp2::token'
191 | class token
| ^~~~~