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


Hi,

I use egcs1.1 on Windows NT. Great C++ compiler!!!

The following sample code does not work correctly:

#include <iostream>
#include <typeinfo>
using namespace std;

void main()
{
	std::cout << typeid(int).name() << endl;
}

It prints only "i", not "int".

Also I noticed that sometimes when the compilers encounters errors, it
executes an "illegal instruction". I did not manage to reproduce the problem
yet.

Yours,

Andrei


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