bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #27394] Unexpected "*** extraneous `endef'. Stop."


From: anonymous
Subject: [bug #27394] Unexpected "*** extraneous `endef'. Stop."
Date: Mon, 07 Sep 2009 15:12:40 +0000
User-agent: Opera/9.80 (Windows NT 5.1; U; MRA 5.5 (build 02842); en-GB) Presto/2.2.15 Version/10.00

URL:
  <http://savannah.gnu.org/bugs/?27394>

                 Summary: Unexpected "*** extraneous `endef'. Stop."
                 Project: make
            Submitted by: None
            Submitted on: Mon 07 Sep 2009 03:12:39 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.81
        Operating System: Any
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

'make' unexpectedly fails with error "Makefile:6: *** extraneous `endef'. 
Stop." on the following Makefile:

ifneq (1,1)
define var1
define var2
endef
endef
endif

The error has gone if 'if' condition becomes 'true'.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27394>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]