enhancement for error 1762 "Member function could be made const"
The message:
Pages.cpp(206): error 1762: (Info -- Member function 'xxx:yyy(void)' could be made const)
could be enhanced to make it easier to type in "const" in both the source and header files:
1. The line number reference should the first line the function and not the function's closing brace
2. add a "error 830: (Info -- Location cited in prior message)" line that references the function's declaration in the header file
The first part of this request (more useful location for the diagnostic) has been implemented for the upcoming PC-lint Plus. We are declining to implement the second part of the request (adding a supplemental message containing the location of the declaration) but may reconsider if the this is made into a separate suggestion.