This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bug report
- To: "'egcs-bugs at cygnus dot com'" <egcs-bugs at cygnus dot com>
- Subject: Bug report
- From: "Alexandrescu, Andrei" <AlexandrescuA at MICROMODELING dot COM>
- Date: Tue, 8 Sep 1998 12:01:19 -0400
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