Bug report
Alexandrescu, Andrei
AlexandrescuA@MICROMODELING.COM
Tue Sep 8 09:01:00 GMT 1998
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
More information about the Gcc-bugs
mailing list