delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Dave Korn" <dk AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Cygwin make thinks a statement can be neither true nor false.... |
Date: | Mon, 19 Apr 2004 18:53:14 +0100 |
MIME-Version: | 1.0 |
Message-ID: | <NUTMEGEW6sStwNeKjUb00000500@NUTMEG.CAM.ARTIMI.COM> |
X-OriginalArrivalTime: | 19 Apr 2004 17:53:14.0468 (UTC) FILETIME=[3010CA40:01C42637] |
Haven't got any time to investigate further tonight, and I'm not sure if this is a real bug or some misunderstanding of mine, but it doesn't appear to be how the documentation ("info make") suggests things should work. Here's a cut-down testcase: -------------snip------------- dk AT mace /test/mk-test/test2> ls -lart total 1 drwxr-xr-x+ 4 dk Domain U 0 Apr 19 18:47 .. -rw-r--r-- 1 dk Domain U 402 Apr 19 18:49 makefile drwxr-xr-x+ 2 dk Domain U 0 Apr 19 18:49 . dk AT mace /test/mk-test/test2> cat makefile ifdef ANYTHING $(error: 1 ANYTHING is defined ) endif ifndef ANYTHING $(error: 1 ANYTHING is ***NOT*** defined ) endif $(error: PLEASE give me an error. What do I have to do, for god's sake? Beg? ) $(warning: How about an error, or is even that asking too much of your mighty in tellect? ) .PHONY: all force all: force force: echo Does make not use aristotelian two-valued logic then? > force dk AT mace /test/mk-test/test2> dk AT mace /test/mk-test/test2> make echo Does make not use aristotelian two-valued logic then? > force dk AT mace /test/mk-test/test2> -------------snip------------- Now, shouldn't at least one of those error messages be displayed? Or have I failed to understand that they don't get parsed because they're not required to make sense of the targets and dependencies? cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |