------- Comment #5 from truedfx at gentoo dot org 2008-03-15 18:17 ------- This is probably related to #28262. That bug's about
typedef void fn(int = 0); typedef fn *fp; void call(fp f) { f(); } which used to be accepted (up to 4.2), but is now correctly rejected in 4.3. This bug is really the template version of the same thing. void fn(int = 0) {} template<typename fp> void call(fp f) { f(); } int main() { call(fn); } This also used to be accepted up to 4.2, and is now rejected in 4.3. -- truedfx at gentoo dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |truedfx at gentoo dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35596