bugmake - Bugs: bug #31762, make -silent behaves like make...

 
 

bug #31762: make -silent behaves like make -ignore

Submitter:  None
Submitted:  Thu 02 Dec 2010 10:41:14 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Not A Bug Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.81 Operating System:  MS Windows
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 02 Dec 2010 10:46:54 PM UTC, comment #1: 

This is not a bug.  There is no "-silent" flag to GNU make.  When you say "-silent" you are really saying "-s -i -l -e -n -t", all of which just happen to be legal options to GNU make so make does not fail... and which enables -i as you observed.

If you want silent operation you can either use the single-letter form of the option, "-s", or else use the full-word form, "--silent" (note the double-dashes).

The POSIX standard rules for options do not allow single-dash prefixed, full-word options.  All options beginning with a single dash must be considered to be a grouping of single-letter options.

Paul D. Smith <psmith>
Group administrator
Thu 02 Dec 2010 10:41:14 PM UTC, original submission:  

The -silent option on make appears to force the -ignore option.
When I specify the -silent option, make appears to ignore the exit status of all commands, and returns an exit status of zero even though the build  failed.

I encountered this on version 3.81, built for Windows32.  On testing, I found that the 3.81 build distributed with cygwin behaves the same way, and the attached makefile and illustrative script are intended to be run under cygwin or on a unix platform.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #22107:  makefile added by None (137B - text/plain - The script maketest calls make with various options. The output is in makeout.)
file #22108:  maketest added by None (660B - text/plain - The script maketest calls make with various options. The output is in makeout.)
file #22109:  makeout added by None (1KiB - text/plain - The script maketest calls make with various options. The output is in makeout.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-02 psmith StatusNone Not A Bug
        Open/ClosedOpen Closed
    2010-12-02 None Attached File- Added makefile, #22107
        Attached File- Added maketest, #22108
        Attached File- Added makeout, #22109

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code