Compiler produces a segmentation fault when compiling my
program.
Attached is a zip file containing the program
source, the
batch file I use to compile the program, and a batch
file that contains the command I use to invoke the batch file that
compiles the program.
Logged In: YES
user_id=722870
I forgot - version info is g++ (GCC) 3.2.2 (mingw special 20030208-1)
Logged In: YES
user_id=11494
No attachment.
zip files containing supporting files...
Logged In: YES
user_id=11494
Compiling with gcc 3.4.1 and your switch gives this:
cc1plus.exe: warning: command line option "-Wimplicit-int" is
valid for C/ObjC but not for C++
cc1plus.exe: warning: command line option "-Wmissing-
declarations" is valid for C/ObjC but not for C++
cc1plus.exe: warning: command line option "-Wmissing-
prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus.exe: warning: command line option "-Wnested-
externs" is valid for C/ObjC but not for C++
cc1plus.exe: warning: command line option "-Wsequence-
point" is valid for C/ObjC but not for C++
cc1plus.exe: error: unrecognized command line option "-fssa-
dce"
cc1plus.exe: error: unrecognized command line option "-fssa-
ccp"
cc1plus.exe: error: unrecognized command line option "-fssa"
cc1plus.exe: error: invalid parameter `max-inline-insns'
DCalc-B.cpp:1: warning: this target machine does not have
delayed branches
DCalc-B.cpp:1: warning: -fprefetch-loop-arrays not
supported for this target (try -march switches)
After removing the options that are reported as errors. the
testcase compiles (with lots of warnings) but no error.