bugmake - Bugs: bug #1516, $(eval ...) inside conditionals...


bug #1516: $(eval ...) inside conditionals causes errors

Submitter:  Paul D. Smith <psmith>
Submitted:  Fri 25 Oct 2002 08:43:18 PM UTC
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.80 Operating System:  None
Fixed Release:  3.81 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup

Mon 27 Jan 2003 05:58:48 PM UTC, comment #2: 

Until this patch is in official release, you can put the code inside the if into a separate file and use include to workaround this bug...

Fri 25 Oct 2002 09:21:42 PM UTC, comment #1: 

Need to install a new set of conditionals inside the eval.  This means that, just like include, you cannot open a conditional but not close it within an $(eval ...) call.

Patch included.

Paul D. Smith <psmith>
Group administrator
Fri 25 Oct 2002 08:43:18 PM UTC, original submission:  

Using $(eval ...) inside a conditional (that is parsed) will cause an error like this:

  Makefile:10: * missing `endif'.  Stop.

Paul D. Smith <psmith>
Group administrator


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

Attach Files:

Attached Files
file #119:  eval-conditional.patch added by psmith (4KiB - application/octet-stream - Patch to fix eval conditional bug)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


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

Date Changed by Updated Field Previous Value => Replaced by
2006-04-01 psmith Fixed Release4.0 3.81
2002-10-25 psmith StatusNone None
    Open/ClosedOpen None
    Fixed ReleaseNone None

Back to the top

Powered by Savane 3.13-3cd0.
Corresponding source code