Author Topic: HELP me to fix -Wfatal-error  (Read 6027 times)

Offline emanahmed

  • Single posting newcomer
  • *
  • Posts: 8
HELP me to fix -Wfatal-error
« on: August 27, 2010, 08:32:29 am »
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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: HELP me to fix -Wfatal-error
« Reply #1 on: August 27, 2010, 08:50:39 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline emanahmed

  • Single posting newcomer
  • *
  • Posts: 8
Re: HELP me to fix -Wfatal-error
« Reply #2 on: August 27, 2010, 07:22:56 pm »
thanks I solve the problem