This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error with <list>
- To: egcs-bugs at cygnus dot com
- Subject: Internal compiler error with <list>
- From: David Faure <faure at kde dot org>
- Date: Fri, 12 Feb 1999 11:33:35 +0100
My system : RedHat Linux 5.2, with egcs 1.1b-2 rpms (egcs-2.91.57)
I've been using this egcs for several months, compiling KDE every day,
so it's not an installation/configuration issue...
The apparently guilty file, /usr/include/g++/list, is from
egcs-libstdc++-devel-1.1b-1, and the library itself is egcs-libstdc++-1.1b-1.
The following test program shows "internal compiler error" on line 13 :
(simply compiled with g++ -c main.cc)
#include <list>
class KIOJob
{
public:
KIOJob();
virtual ~KIOJob();
};
int main()
{
KIOJob* job = new KIOJob;
job->list( "Hello world" );
}
// Of course, the list() method doesn't exist, so it shouldn't compile
// but it shouldn't say 'internal compiler error' either !
Thanks for your great work on egcs !
--
____________________________________________________________________
| |
| David FAURE |
| E-mail : David.Faure@insa-lyon.fr, faure@kde.org |
| http://www.insa-lyon.fr/People/AEDI/dfaure/index.html |
|____________________________________________________________________|