public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/19487] New: map with a class template + method template fails to compile.
@ 2005-01-17 17:34 douze at enseeiht dot fr
  2005-01-17 17:36 ` [Bug libstdc++/19487] " douze at enseeiht dot fr
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: douze at enseeiht dot fr @ 2005-01-17 17:34 UTC (permalink / raw)
  To: gcc-bugs

The error message is :

/local_scratch/douze/gcc_cur/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/bits/cpp_type_traits.h:
In instantiation of 'std::__is_pod<std::less<int> >':
/local_scratch/douze/gcc_cur/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/bits/stl_tree.h:431:
  instantiated from 'std::_Rb_tree<int, std::pair<const int, A<0> >,
std::_Select1st<std::pair<const int, A<0> > >, std::less<int>,
std::allocator<std::pair<const int, A<0> > > >'
/local_scratch/douze/gcc_cur/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/bits/stl_map.h:124:
  instantiated from 'std::map<int, A<0>, std::less<int>,
std::allocator<std::pair<const int, A<0> > > >'
test7.cpp:5:   instantiated from 'A<0>'
test7.cpp:10:   instantiated from here
/local_scratch/douze/gcc_cur/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/bits/cpp_type_traits.h:398:
error: too many template parameter lists in declaration of
'std::__is_pod<std::less<int> >::<anonymous enum>'

The error appears with gcc 3.4.1 and gcc 4.0.0, but not with 3.3.2

-- 
           Summary: map with a class template + method template fails to
                    compile.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: douze at enseeiht dot fr
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: 686-pc-linux-gnu


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


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

end of thread, other threads:[~2005-04-30 15:08 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-17 17:34 [Bug libstdc++/19487] New: map with a class template + method template fails to compile douze at enseeiht dot fr
2005-01-17 17:36 ` [Bug libstdc++/19487] " douze at enseeiht dot fr
2005-01-17 18:58 ` pinskia at gcc dot gnu dot org
2005-01-17 19:02 ` pcarlini at suse dot de
2005-01-17 19:16 ` [Bug c++/19487] [3.3/3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2005-01-17 19:16 ` pinskia at gcc dot gnu dot org
2005-01-17 19:25 ` pinskia at gcc dot gnu dot org
2005-01-17 19:28 ` pinskia at gcc dot gnu dot org
2005-01-17 20:01 ` pcarlini at suse dot de
2005-01-18  2:36 ` bangerth at dealii dot org
2005-01-18 15:16 ` reichelt at gcc dot gnu dot org
2005-01-18 15:21 ` lerdsuwa at gcc dot gnu dot org
2005-01-21 16:04 ` lerdsuwa at gcc dot gnu dot org
2005-02-12 21:08 ` cvs-commit at gcc dot gnu dot org
2005-02-12 21:11 ` cvs-commit at gcc dot gnu dot org
2005-02-12 21:13 ` [Bug c++/19487] [3.3 " lerdsuwa at gcc dot gnu dot org
2005-02-12 21:14 ` lerdsuwa at gcc dot gnu dot org
2005-02-12 21:16 ` pinskia at gcc dot gnu dot org
2005-04-30 13:19 ` gdr at gcc dot gnu dot org
2005-04-30 15:08 ` pinskia 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).