> The kind of cast appears to be wrong here: Const_cast<> is normally used > to remove const, not add it. It is not used to change the type.
It is currently a c-style cast. Attributes is built over push_back(), so the only way to cleanly make it const would be to copy it after it's built. Without it, CustomParser.cc:209:83: error: invalid conversion from 'char**' to 'const char**' [-fpermissive] -- Francesco