This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14645] Cannot compile subgraph.cpp from boost


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]