bugmake - Bugs: bug #47163, description of ifdef directive...

 
 

bug #47163: description of ifdef directive behavior

Submitted by:  Manoj Srivastava <srivasta>
Submitted on:  Mon 15 Feb 2016 10:12:42 PM UTC  
 
Severity: 3 - NormalItem Group: Documentation
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 4.1Operating System: Any
Fixed Release: 4.2Triage Status: Small Effort

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 29 Feb 2016 06:46:09 AM UTC, comment #1:

Updated in Git. Thanks for the report.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Mon 15 Feb 2016 10:12:42 PM UTC, original submission:

Hi,

This was reported by a debian user. Please retain a CC to
-unavailable-
so that the Debian BTS has a copy of your input.

The manual says:
=============================================================
ifdef variable-name

The ifdef form takes the name of a variable as its argument, not a reference to a variable. The value of that variable has a non-empty value, the text-if-true is effective; otherwise, the text-if-false, if any, is effective. Variables that have never been defined have an empty value. The text variable-name is expanded, so it could be a variable or function that expands to the name of a variable.
================================================================

The second sentence of the first paragraph has a grammar error, it looks like it should read "If the value of that variable..."
Also, "The value has a ... value" seems awkward.

Manoj

Manoj Srivastava <srivasta>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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)
  • -unavailable- added by srivasta (Submitted the item)
  • -unavailable- added by srivasta (Debian BTS)
  •  

    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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 29 Feb 2016 06:46:09 AM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.2
      Triage StatusNone=>Small Effort
    Mon 15 Feb 2016 10:12:42 PM UTCsrivastaCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1