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 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.80Operating System: None
Fixed Release: 3.81Triage 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 File(s):

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

Date Changed By Updated Field Previous Value => Replaced By
Sat 01 Apr 2006 07:02:41 AM UTCpsmithFixed Release4.0=>3.81
Fri 25 Oct 2002 09:21:42 PM UTCpsmithStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
  Fixed ReleaseNone=>(Error - Not Found)

Back to the top

Powered by Savane 3.1-cleanup1