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

 
 

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

Submitted by:  None
Submitted on:  Thu 02 Dec 2010 10:41:14 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Not A BugPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.81Operating System: MS Windows
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by psmith (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 02 Dec 2010 10:46:54 PM UTCpsmithStatusNone=>Not A Bug
      Open/ClosedOpen=>Closed
    Thu 02 Dec 2010 10:41:14 PM UTCNoneAttached File-=>Added makefile, #22107
      Attached File-=>Added maketest, #22108
      Attached File-=>Added makeout, #22109

    Back to the top


    Powered by Savane 3.1-cleanup1