News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

HELP me to fix -Wfatal-error

Started by emanahmed, August 27, 2010, 08:32:29 AM

Previous topic - Next topic

emanahmed

when I run any program in code::blocks 10.05 I saw this message

cc1plus.exe: error: unrecognized command line option "-Wfatal-errors"
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings

How can I fix this?

MortenMacFly

Quote from: emanahmed on August 27, 2010, 08:32:29 AM
cc1plus.exe: error: unrecognized command line option "-Wfatal-errors"
Enable full compiler logging (see my sig), re-compile the program and post the full compiler log here, please.

In addition:  Please open a command prompt, go to the folder where your compiler is installed (probably in the bin sub-folder) and type:
g++ --version
...and post the full output here, too.

Furthermore: Make sure you don't have another compiler in your PATH that actually is being called.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

emanahmed