-
Notifications
You must be signed in to change notification settings - Fork 1.6k
re-worded some error messages and avoid using product name #8074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
||
| default: | ||
| throw InternalError(nullptr, std::string("Unexpected action '") + action + "' in MathLib::calculate(). Please report this to Cppcheck developers."); | ||
| throw InternalError(nullptr, std::string("Unexpected action '") + action + "' in MathLib::calculate(). Please report this to the developers."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not so sure about explicit mentions to report this. I would hope that users are reporting any of the internal errors they cannot fix by themselves.
e21ca8c to
c8bf1a3
Compare
| "TemplateSimplifier: max template recursion (" | ||
| + std::to_string(mSettings.maxTemplateRecursion) | ||
| + ") reached for template '"+typeForNewName+"'. You might want to limit Cppcheck recursion.", | ||
| + ") reached for template '"+typeForNewName+"'. You might want to adjust the template recursion limit.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we should mention that the limit should be adjusted.
| msg = "This file is not analyzed. Cppcheck failed to extract a valid configuration. Use -v for more details."; | ||
| msg += "\nThis file is not analyzed. Cppcheck failed to extract a valid configuration. The tested configurations have these preprocessor errors:"; | ||
| msg = "This file is not analyzed. No working configuration could be extracted. Use -v for more details."; | ||
| msg += "\nThis file is not analyzed. No working configuration could be extracted. The tested configurations have these preprocessor errors:"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from dropping the product name I think this explains it better.
| ErrorMessage errmsg(std::move(locationList), mFile0, Severity::information, | ||
| (headerType==SystemHeader) ? | ||
| "Include file: <" + header + "> not found. Please note: Cppcheck does not need standard library headers to get proper results." : | ||
| "Include file: <" + header + "> not found. Please note: Standard library headers do not need to be provided to get proper results." : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from dropping the product name I think this explains it better.
c8bf1a3 to
72883d3
Compare
|



No description provided.