Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse will not stop building after the first error(Eclipse will not stop building after the first error when building all configurations for an ARM Gnu C project)
Eclipse will not stop building after the first error [message #1740753] Thu, 18 August 2016 03:15 Go to next message
Eclipse UserFriend
Eclipse will not stop building after the first error when building all configurations for an ARM Gnu C project. I want eclipse to stop after the first error and don't proceed to the next build configuration when I trigger "build all" command from windows cmd.
Re: Eclipse will not stop building after the first error [message #1740837 is a reply to message #1740753] Thu, 18 August 2016 15:31 Go to previous messageGo to next message
Eclipse UserFriend
If your build is not stopping on first error it is probably because make is being run with -k switch.

You can turn the setting on/off in CDT if you open Project Properties -> C/C++ Build -> Behavior tab, and check "Stop on first build error"

Here is a screenshot to help:

index.php/fa/26784/0/
Re: Eclipse will not stop building after the first error [message #1740840 is a reply to message #1740753] Thu, 18 August 2016 16:28 Go to previous messageGo to next message
Eclipse UserFriend
Thank you for your reply, However I'm triggering the build from cmd by eclipse command line options. Is there a solution for that from the CMD or setting this to be permanent in the work space it self?
Re: Eclipse will not stop building after the first error [message #1740942 is a reply to message #1740840] Sat, 20 August 2016 08:28 Go to previous message
Eclipse UserFriend
Hi, your use case sounds like a patch is needed to CDT. It could be that the CDT command line build application never added support for make without -k.
Previous Topic:using eclipse/git with an existing code base
Next Topic:IDE adds -werror to makefile build
Goto Forum:
  


Current Time: Tue Aug 19 15:24:01 EDT 2025

Powered by FUDForum. Page generated in 0.04724 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top