Markus Elfring
2017-06-19 16:08:35 UTC
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) $< > $@.$$$$; \
…
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/
<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) $< > $@.$$$$; \
…
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/