[Top][All Lists]

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

[bug #43901] Stop on error when build -include

From: Andrii
Subject: [bug #43901] Stop on error when build -include
Date: Mon, 29 Dec 2014 12:44:33 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36


                 Summary: Stop on error when build -include
                 Project: make
            Submitted by: andigor
            Submitted on: Пнд 29 Дек 2014 12:44:32
                Severity: 3 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.1
        Operating System: Any
           Fixed Release: None
           Triage Status: None



Hi guys

Currently I stucked on such problem:

We have a build system based on GNU make. It has a lot of generated headers,
files, xml's etc. Also it generates makefile includes:

-include a.mk

    touch a.mk

It is a cool thing that gnu make ignores missed prerequisites for for files
which were included using -include directive:

-include a.mk

a.mk: b.txt
    touch a.mk

because b.txt does not exist yet but will be generated later.

But on the other hand in next example we need to stop because the error in
build was encountered

-include a.mk

a.mk: b.txt
    touch a.mk

To deal with it we temporaly removed #13216 bugfix

Maybe it is a good reason to add something like +include feature or something
similar to fix the problem ?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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