bugmake - Bugs: bug #38433, Example for "eval" in...

 
 

bug #38433: Example for "eval" in documentation contains error with "define"

Submitter:  Daniel Wagenaar <wagenaar>
Submitted:  Wed 27 Feb 2013 07:25:20 PM UTC
   
 
Severity:  3 - Normal Item Group:  Documentation
Status:  Not A Bug Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  None Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 27 Feb 2013 10:42:16 PM UTC, comment #2: 

Paul and Philipp,


Daniel has a valid point here.  You could be a lot more welcoming on this case, why so hard on him?  I hit the very same thing myself some time ago, just forgot to speak up myself.  That documentation "bug" is the reason meta programming in GNU make took my too starts, rather than one.

While I appreciate progress in GNU make, version 3.82 has produced costs over 3.81 to many parities, see the list of bugs related to 3.82-caused breakage in Gentoo Linux alone: <https://bugs.gentoo.org/show_bug.cgi?id=331977>.

To summarize: people need all the support with the transition and with understanding the differences betwen 3.81 and 3.82 they can get.  Daniel could have prepared a patch for the docs by now and be motivated to do more later, if you had instructed him about it.  The good part about it: you may have a second chance.  Don't let it pass.

Best,



Sebastian

Sebastian Pipping <hartwork>
Wed 27 Feb 2013 07:32:49 PM UTC, comment #1: 

That's a valid statement in version GNU make 3.82.  You must be using an older version of GNU make.

Note that the online documentation always refers to the latest released version of GNU make.  You should be referring to the documentation that came with your version of GNU make, if you're not using the latest release.

Paul D. Smith <psmith>
Group administrator
Wed 27 Feb 2013 07:25:20 PM UTC, original submission:  

The example for the "eval" function in the documentation at http://www.gnu.org/software/make/manual/html_node/Eval-Function.html contains a syntax error that causes the example to fail quietly. The problem is in the line

     define PROGRAM_template =

This line should not have "=" at the end.

Daniel Wagenaar <wagenaar>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hartwork (Posted a comment)
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by wagenaar (Submitted the item)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2013-02-27 psmith StatusNone Not A Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code