|
| From: | Markus Elfring |
| Subject: | [bug #51267] Improve error handling after a special command |
| Date: | Mon, 19 Jun 2017 12:08:35 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
URL:
<http://savannah.gnu.org/bugs/?51267>
Summary: Improve error handling after a special command
Project: make
Submitted by: elfring
Submitted on: Mon 19 Jun 2017 06:08:34 PM CEST
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.2.1
Operating System: Any
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
I have noticed the following code fragment in a recipe which is mentioned in
the section “Generating prerequisites automatically” of the
documentation.
https://www.gnu.org/software/make/manual/html_node/Automatic-Prerequisites.html#index-make-depend
…
$(CC) -M $(CPPFLAGS) $< > address@hidden; \
…
The semicolon indicates at the end that the return value is ignored there. I
imagine that further data processing should usually only be performed if this
command succeeded.
Would you like to improve the exception handling for such a situation?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51267>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |