public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12694] New: insufficient contextual information to determine type - templated function parameter
@ 2003-10-20 19:31 belz at kolumbus dot fi
  2003-10-20 19:50 ` [Bug c++/12694] " bangerth at dealii dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: belz at kolumbus dot fi @ 2003-10-20 19:31 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12694

           Summary: insufficient contextual information to determine type -
                    templated function parameter
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belz at kolumbus dot fi
                CC: gcc-bugs at gcc dot gnu dot org

following code gives an error.

namespace a { typedef int string; }
template<typename T> void foo(const T& string) { string.data(); }

error: insufficient contextual information to determine type

Same occures whatever the namespace a is, eg. including <string>

using gcc version 3.4 20031015 (experimental) in mandrake 9.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-22 20:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-20 19:31 [Bug c++/12694] New: insufficient contextual information to determine type - templated function parameter belz at kolumbus dot fi
2003-10-20 19:50 ` [Bug c++/12694] " bangerth at dealii dot org
2003-10-20 19:55 ` [Bug c++/12694] [3.4 regression] " bangerth at dealii dot org
2003-10-24  8:55 ` nathan at gcc dot gnu dot org
2003-12-05  4:05 ` pinskia at gcc dot gnu dot org
2003-12-22 21:01 ` mmitchel at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).