------- Comment #8 from pinskia at gcc dot gnu dot org 2007-03-18 06:12 -------
The work around is doing:
get_a().template func2 <int>();
Which tells the compiler for sure func2 is a template.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17000