MVDWSN - Multiple Visible Declarations With Same Name
Multiple declarations with the same name must not be simultaneously visible except for overloaded methods.
Wrong
void index () {
return;
}
void func () {
int index;
}
}
Tip: Rename members (or variables) with clashing names.
Right
void index () {
return;
}
void func () {
int anIndex;
}
}