The compiler told me to do this..

BigAl1030@aol.com BigAl1030@aol.com
Tue May 16 19:05:00 GMT 2000


I think its my code, but I may be wrong.  Here is the bug report.

This is a bug report for RHIDE Version 1.4 (Sep 30 1997 23:06:59)
I am running MS-DOS 7.10 (Windows 95)

Important environment variables:
PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND
DJGPP=C:\djgpp\DJGPP.ENV
LFN=y
INFOPATH=c:/djgpp/info;c:/djgpp/gnu/emacs/info
LOCALEDIR=
LANGUAGE=
SHELL=
COMSPEC=C:\WINDOWS\COMMAND.COM
DJSYSFLAGS=

Here is the output from a sample compilation and link for C
executing: 
echo "int main(){return 0;}" | redir -eo gcc -Xlinker -v -Wa,-v -v -o 
/dev/null -x c -
Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.952/specs
gcc version 2.95.2 19991024 (release)
 c:/djgpp/lib/gcc-lib/djgpp/2.952/cpp.exe -lang-c -v -D__GNUC__=2 
-D__GNUC_MINOR__=95 -Dunix -Di386 -DGO32 -DDJGPP=2 -DMSDOS -D__unix__ 
-D__i386__ -D__GO32__ -D__DJGPP__=2 -D__MSDOS__ -D__unix -D__i386 -D__GO32 
-D__DJGPP=2 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) 
-Amachine(i386) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ 
-D__tune_pentium__ -imacros c:/djgpp/lib/../include/sys/version.h -remap - 
c:/djgpp/tmp/RHdbaaaa\ccVjhFnR.i
GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/include
 c:/djgpp/lib/gcc-lib/djgpp/2.952/include
 c:/djgpp/include
End of search list.
The following default directories have been omitted from the search path:
 $DJDIR/lang/cxx
 $DJDIR/lib/gcc-lib/djgpp/2.952/../../../../djgpp/include
End of omitted list.
 c:/djgpp/lib/gcc-lib/djgpp/2.952/cc1.exe c:/djgpp/tmp/RHdbaaaa\ccVjhFnR.i 
-quiet -dumpbase -.c -version -o c:/djgpp/tmp/RHdbaaaa\cckucb4E.s
GNU C version 2.95.2 19991024 (release) (djgpp) compiled by GNU C version 
2.95.2 19991024 (release).
:1: parse error before string constant

End of the sample

Here is the output from a sample compilation and link for C++
executing: 
echo "int main(){return 0;}" | redir -eo gcc -Xlinker -v -Wa,-v -v -o 
/dev/null -x c++ -
Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.952/specs
gcc version 2.95.2 19991024 (release)
 c:/djgpp/lib/gcc-lib/djgpp/2.952/cpp.exe -lang-c++ -v -D__GNUC__=2 
-D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Dunix -Di386 -DGO32 -DDJGPP=2 
-DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__DJGPP__=2 -D__MSDOS__ -D__unix 
-D__i386 -D__GO32 -D__DJGPP=2 -D__MSDOS -Asystem(unix) -Asystem(msdos) 
-Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -Acpu(i386) -Amachine(i386) -Di386 
-D__i386 -D__i386__ -D__tune_pentium__ -imacros 
c:/djgpp/lib/../include/sys/version.h -remap - 
c:/djgpp/tmp/RHdbaaaa\ccPvH110.ii
GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/lang/cxx
 c:/djgpp/include
 c:/djgpp/lang/cxx
 c:/djgpp/lib/gcc-lib/djgpp/2.952/include
 c:/djgpp/include
End of search list.
The following default directories have been omitted from the search path:
 $DJDIR/lib/gcc-lib/djgpp/2.952/../../../../djgpp/include
End of omitted list.
 c:/djgpp/lib/gcc-lib/djgpp/2.952/cc1plus.exe 
c:/djgpp/tmp/RHdbaaaa\ccPvH110.ii -quiet -dumpbase -.cc -version -o 
c:/djgpp/tmp/RHdbaaaa\ccwEhAT3.s
GNU C++ version 2.95.2 19991024 (release) (djgpp) compiled by GNU C version 
2.95.2 19991024 (release).
:1: parse error before string constant

End of the sample



My problem is the following:
============================

There is a garbage chain saw noise coming from my speakers.
The linker doesn't work on this project anymore.
Running my program always returns 255 or crashes the compiler
    -- the trace callback says it's in my constructor for the TILE class
I think I used a NULL reference.
The message window said:
"Error: Internal compiler error 980605"
"Error: Please submit a full report"
"Error: See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for 
instructions"
There were some errors

I think this was my fault.  I was using allegro's sound routines as well so 
that
could explain the garbage in the speakers.  Have a nice day.

    ~Allen Seitz ( BigAl1030@aol.com )


More information about the Gcc-bugs mailing list