Jump to content

Stop code::blocks on first error


Josh
 Share

Recommended Posts

I am using the default GCC compiler Codeblocks selects when installed. I think I have MinGW 5.1.6 installed. When I enable the "Stop compiling after the first error" option in the build settings, I get this message from the compiler:

cc1.exe: error: unrecognized command line option "-Wfatal-errors"

 

Do I need to install another version of MinGW? Which versions will support this option?

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

The -Wfatal-errors option is supported by the TDM build of MinGW GCC ( http://tdm-gcc.tdragon.net/ ), and also the MinGW which is packaged with Code::Blocks 10.05 ( http://www.codeblocks.org/downloads/26 ).

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...