http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51951
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-01-22 20:35:21 UTC --- t.cc: In instantiation of ‘void readSingle(Option<T>&) [with T = int]’: t.cc:19:15: required from here t.cc:10:5: error: ‘readFromStream’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] t.cc:14:6: note: ‘template<class T> void readFromStream(T&)’ declared here, later in the translation unit seems correct to me, what's the bug?