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++/14242] New: [3.4 regression] symbol lookup in templates


[forwarded from http://bugs.debian.org/233934]

code compiles ok with 3.3.3, not with 3.4 CVS 20040221

g++-3.4 bug-233934.cc 
bug-233934.cc: In function `void foo() [with T = double]':
bug-233934.cc:14:   instantiated from here
bug-233934.cc:7: error: no matches converting function `bla' to type `void
(*)(const double&)'
bug-233934.cc:1: error: candidates are: void bla(const char&)
bug-233934.cc:2: error:                 void bla(const int&)

-- 
           Summary: [3.4 regression] symbol lookup in templates
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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