------- Comment #3 from fang at csl dot cornell dot edu 2007-07-31 21:32 ------- Try compiling with -Woverloaded-virtual (C++ only). That catches the situation you describe. (I don't think it's enabled by -Wall or -Wextra.)
-- fang at csl dot cornell dot edu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fang at csl dot cornell dot | |edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32934