This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18698] [3.4/4.0/4.1 regression] Error message using "using" for code not using "using" ;-)
- From: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jun 2005 11:26:37 -0000
- Subject: [Bug c++/18698] [3.4/4.0/4.1 regression] Error message using "using" for code not using "using" ;-)
- References: <20041128004431.18698.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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