HP Code Advisor Diagnostics

3348 declaration hides %nd
Cause:
A declaration hides another variable with the same name visible in this scope.
Example:
struct X {
X(int i) {
i = i;
}
int i;
};
Action:
Examine your code to see if any of the two declarations should be removed/modified.
Reference:
3353 %n has no corresponding member operator delete%s (to be called
if an exception is thrown during initialization of an allocated object)
Cause:
For member operator new, a corresponding member operator delete needs to be provided so
that it can be called for proper destruction in case an exception is thrown during the initialization
of the allocated object.
Example:
struct Pool {
Pool() { }
void* operator new(unsigned long, void*) { return 0; }
} object;
Action:
Provide a corresponding member operator delete to be called if an exception is thrown during
the initialization of the allocated object.
Reference:
3750 "\" followed by white space is not a line splice
Cause:
This warning is issued when a space is found after \ (backslash) at the end of line.
Example:
int main()
{
int something; \
int anotherthing;
}
Action:
A space after \ (backslash) at the end of line is unusual, and might be done by mistake - check
if this is what you intended.
Reference:
4212 mismatch between character pointer types %t1 and %t2
Cause:
3348 declaration hides %nd 55