Error when parsing 'volatile'
trelau opened this issue · 2 comments
trelau commented
In this code:
class Foo
{
public:
private:
volatile bool myToShutDown;
}
Gives error:
cxxheaderparser.errors.CxxParseError: Not able to parse volatile_error.hxx on line 7 evaluating 'volatile'
trelau commented
does this PR address this issue? #22
btw, still tracking this project as I think it might be an easier way to generate bindings for https://github.com/trelau/pyOCCT (currently using clang)
virtuald commented
Yes, it addresses that issue. I'll add an explicit test too.
I'm still planning on migrating robotpy-build to use this, but I ran out of time last season. Expecting to pick up the work this fall, but no firm timeline.
As a sidenote, when I merged that fix, I was trying to utilize this for codegen and I found that cxxheaderparser wasn't very user-friendly. Will have to strategize on ways to address that.