Resolution of extra qualification error in gcc
- 2020-06-23 01:18:59
- OfStack
extra qualification error in gcc
g++ compiler error error: extra qualification 'SQSBase::' on member 'parseResponse' or similar error. Incorrect
Error:
1. void SQSBase::parseResponse(); void parseResponse() in the class implementation
2. void dsst_tracker::extract_image(); void dsst_tracker::extract_image(){};
Correct writing:
void extract_image(); void dsst_tracker::extract_image(){};
When using different versions of compilers, it is best to ensure that your code will work without problems with the older version.