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


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

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

Add a New Comment (Rich Markup)

You are not logged in

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


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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.


(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


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

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 => (Error - Not Found)
    Open/ClosedOpen => (Error - Not Found)
    Fixed ReleaseNone => (Error - Not Found)

Back to the top

Powered by Savane 3.7