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]

bug report


This program:

#include <iostream.h>
#include <map.h>

namespace apa
{
#ifndef __STL_LIMITED_DEFAULT_TEMPLATES
  template <class Key, class T, class Compare = less<Key>, class Alloc =
alloc>
#else
  template <class Key, class T, class Compare, class Alloc = alloc>
#endif
  class map: public std::map
  {
  }
}


using namespace apa

map<int,int>nisse;

int main()
{
  nisse n;
}


generated the following error:
maptest.cpp:12: Internal compiler error.
maptest.cpp:12: Please submit a full bug report.
maptest.cpp:12: See
<URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.


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