------- Additional Comments From redi at gcc dot gnu dot org 2005-06-17 11:26 ------- Not sure if this is the same bug or if it should be a new PR:
struct A { NS::y<A> b; }; gives the same "using-declaration" diagnostic if compiled with -DNS= or -DNS=std, but not otherwise. This can be caused simply by failing to declare NS::y, e.g. by forgetting to include a header. The diagnostic is pretty unhelpful. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |redi at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18698