Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to *not* ignore post-build exit error codes
How to *not* ignore post-build exit error codes [message #1760627] Sat, 29 April 2017 05:25 Go to next message
Roberto Saltini is currently offline Roberto SaltiniFriend
Messages: 2
Registered: April 2017
Junior Member
Hi,

Is it possible to configure the CDT Builder to autogenerate a makefile which does not ignore post-build errors?

For example, this is an excerpt of a makefile generated by CDT Builder:
post-build:
    -@echo 'Post Build Action'
    -..\post_build\Debug.bat "Debug Make"
    -@echo ' '


As you can see, the hyphen (-) before the execution of the post-build command has the effect of ignoring error codes returned by the post-build command.

Basically, I would like to have the makefile generate without the hyphen in front of the post-build command.

Thanks,
Roberto
Re: How to *not* ignore post-build exit error codes [message #1808705 is a reply to message #1760627] Fri, 28 June 2019 22:13 Go to previous message
Kevin Coleman is currently offline Kevin ColemanFriend
Messages: 1
Registered: June 2019
Junior Member
*bump*

I know I'm resurrecting a 2-year old post but I'm having the exact same issue and I've been unable to find any info on this topic. Did OP ever find a solution?
Previous Topic:GDB Problem
Next Topic:Remote debugging error on a raspberry
Goto Forum:
  


Current Time: Sat Apr 20 03:16:54 GMT 2024

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

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

Back to the top