------- Comment #1 from paolo dot carlini at oracle dot com 2010-09-02 17:16 ------- Since PrintTextFrom is a template, you can (should) write:
this->prn.template PrintTextFrom< MetaObj<Obj> >(); which works with both compilers. Since apparently ICC 11.1 likes in strict mode also the form without 'template' let's ask Jason if we are right in rejecting it (while accepting it without this->) -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45501