g++ && rtti <typeinfo> problems
Mark Mitchell
mmitchell@usa.net
Thu Mar 5 14:43:00 GMT 1998
/*
Newsgroups: gnu.g++.bug,gnu.g++.help,gnu.g++.lib.bug
email : egcs-bugs@cygnus.com, bug-g++@prep.ai.mit.edu
Hi!
Sorry for intrusion but I have (again) some misunderstandings
with this example:
*/
# include <typeinfo>
# include <iostream.h>
int main()
{
int i;
typeid(i);
cout << typeid(i).name() << endl:
That's supposed to be a `;', not a `:'.
return 0;
}
--
Mark Mitchell mmitchell@usa.net
Stanford University http://www.stanford.edu
More information about the Gcc-bugs
mailing list