This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pgcc error during compile


Linux 2.0.30
libg++.so.27.2.8
libc.so.5.4.34

Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.10p/specs
gcc version egcs-2.90.10p 970924 (gcc2-970802 experimental)

pgcc package is: pg++-ss-970924.linux86.tar.gz, pgcc-ss-970924.linux86.tar.gz

intel pentium 166
vendor_id       : GenuineIntel
stepping        : 12
fdiv_bug        : no
hlt_bug         : no
fpu             : yes
fpu_exception   : yes
cpuid           : yes
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8

~48megs of ram.

-------------

I tried changing optimisation levels, I had started at -O9 and worked back. 
Same results until I simply removed -On altogether.  Attached are the relevant
files.  If you need more just ask.  I'm not up on c++, so I can't make
heads or tails of the warnings.

-d

==> Making all in ./ddd...
make[1]: Entering directory `/storage2/src/ddd-1997-10-21/ddd'
Building ddd-1997-10-21-i586-pc-linux-gnu...
c++  -DHAVE_CONFIG_H -DNDEBUG -O2 -g -Wall -fexternal-templates
-felide-constructors -fconserve-space -c -I. -I../././ddd -I../
././ddd/.. -I../././ddd/../include -I../././ddd/../icons  -o ddd.o ddd.C
In file included from /usr/include/g++/iostream.h:31,
                 from strclass.h:389,
                 from ddd.h:36,
                 from ddd.C:136:
/usr/include/g++/streambuf.h:394: warning: invalid type `void *' for default
argument to `ios *'
In file included from strclass.h:389,
                 from ddd.h:36,
                 from ddd.C:136:
/usr/include/g++/iostream.h:50: warning: invalid type `void *' for default
argument to `ostream *'
/usr/include/g++/iostream.h:121: warning: invalid type `void *' for default
argument to `ostream *'
/usr/include/g++/iostream.h:225: warning: invalid type `void *' for default
argument to `ostream *'
In file included from strclass.h:390,
                 from ddd.h:36,
                 from ddd.C:136:
/usr/include/g++/strstream.h:64: warning: invalid type `void *' for default
argument to `signed char *'
/usr/include/g++/strstream.h:58: warning: invalid type `void *' for default
argument to `unsigned char *'
/usr/include/g++/strstream.h:56: warning: invalid type `void *' for default
argument to `char *'
ddd.C: In function `int main(int, char **)':
ddd.C:2408: Internal compiler error.
ddd.C:2408: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[1]: *** [ddd.o] Error 1
make[1]: Leaving directory `/storage2/src/ddd-1997-10-21/ddd'
make: *** [all] Error 1


[reply to: david@127-0-0-1.kalifornia.com without the 127-0-0-1.]
***       ***  Flames will go to /dev/null
** WARNING **  SPAM mail will be returned to you at a
***       ***  minimum rate of 50,000 copies per email

strclass.h

ddd.h

ddd.C

strstream.h

iostream.h

streambuf.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]