help-make
[Top][All Lists]
Advanced

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

Re: 6.2 The Two Flavors of Variables


From: grischka
Subject: Re: 6.2 The Two Flavors of Variables
Date: Fri, 25 Feb 2011 15:10:53 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Philip Guenther wrote:
From your statement, however, I gather you find the
variables---sorry--the macros specified by the POSIX standard to be
flawed.  Righto.  So, I take it that you're either working to extend
POSIX (there was that recent exchange on the austin-group mailing list
about variable flavors...) or don't care about POSIX.  Can you please
clarify your position?

I would not call the standard per se flawed because POSIX doesn't
say much about variables (macros) except "evaluation when used"
(which of course has still enough potential to confuse the user).

The question here was more specifically

     CFLAGS = $(CFLAGS) -O

and why it doesn't work in GNU-make.  Is it because of POSIX
(and/or traditional) requirements or maybe just a flaw in the
implementation?

I'd argue that at least POSIX does NOT require implementations
to have such flaw.

--- grischka




reply via email to

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