This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14645] Cannot compile subgraph.cpp from boost
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2004 05:18:19 -0000
- Subject: [Bug c++/14645] Cannot compile subgraph.cpp from boost
- References: <20040319050509.14645.schmid@snake.iap.physik.tu-darmstadt.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-19 05:18 -------
This is invalid code as x is not dependent so it has to be declared. The other call without the x is
dependent (as PMap is) so it is accepted and is valid code. Note ICC has the same behavior and all
compilers with a two pass name lookups do too.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14645