------- Comment #1 from redi at gcc dot gnu dot org 2010-08-27 15:15 ------- (In reply to comment #0) > (void(*)(void)) my_fun<_T> // This is test.cpp:22
Can I assume you meant to case to (void(*)(void*)) here? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45428