Internal compiler error
Wed Aug 5 07:35:00 GMT 1998
When I try to compile the documentation generator doc++ release 3.2
with egcs, I get an internal compiler error. I use a linux readhat 5.1
system, with no patches applied.
Here what 'uname -a' gives:
Linux MR-NTW40.bvdep.com 2.0.34 #1 Tue Jun 23 02:10:50 EDT 1998 i586
I use the egcs release furnished by redhat, 'c++ -v' give this:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
The doc++ package come from the web site:
http://www.zib.de/Visual/software/doc++/index.html . I have attached a
zip files with the sources to this mail.
Here is the error message given when I do a 'make all':
g++ -DUNIX -DNDEBUG -O2 -c html.cpp
McDArray.h: In function `int rindex(class McDArray<T> &, const T &)':
In file included from doc.h:30,
McDArray.h:326: warning: name lookup of `i' changed for new ANSI `for'
McDArray.h:324: warning: using obsolete binding at `i'
McSorter.h: In function `void sort(T *, int)':
In file included from html.cpp:39:
McSorter.h:78: Internal compiler error.
McSorter.h:78: Please submit a full bug report to
make: *** [html.o] Error 1
From what I saw in the code at the line 78, there is the declaration
of an operator which redefine the parenthesis.
Please mail me if you have a solution/patch to propose. Maybe should
you contact doc++ authors at firstname.lastname@example.org.
Thank you in advance,
More information about the Gcc-bugs