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


Hi,

I have the following file test.cc

class X {
public:
  typedef std::vector<int> ivec;
};

then:

> g++ -c test.cc

test.cc:3: Internal compiler error 980711.
test.cc:3: Please submit a full bug report to `egcs-bugs@cygnus.com'.

If I modify the source file to have the proper include:

#include <vector>
class X {
public:
  typedef std::vector<int> ivec;
};

then it compiles fine.

> g++ --version

egcs-2.91.57
-- 
Philip Rademakers                                Tel: +32 2 724 86 81 
SONY Digital Network Solutions Europe - Brussel  
Sint Stevens Woluwestraat 55                     Fax: +32 2 726 26 86
1130 Brussels - Belgium         
Email: mailto:philip.rademakers@sonycom.com      
WWW: http://www.sonycom.com


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