Hello, no error reporting when function and variable have the same name in class. Please do this check and show this error.
-- Summary: No error reporting when function and variable have the same name Product: gcc Version: 4.3.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: alpha dot super-one at laposte dot net GCC host triplet: linux x86_64 GCC target triplet: linux x86_64 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39699