This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
make versionitis? (OpenBSD)
- To: "gcc (E-mail)" <gcc at gcc dot gnu dot org>, "gcc-bugs (E-mail)" <gcc-bugs at gcc dot gnu dot org>
- Subject: make versionitis? (OpenBSD)
- From: Donn Terry <donnte at microsoft dot com>
- Date: Fri, 3 Nov 2000 12:04:39 -0800
Before I go off and try to figure out a fix (or workaround), what are the
rules of
engagement w.r.t. make versions?
Specifically, recently the line
GCC_WARN_FLAGS= $(LOOSE_WARN) $($(@D)-warn)
was introduced.
This causes OpenBSD make 1.6 to do bad things (the command line ends up
with "-warn)" on it, causing the shell to gag on the ")". (There may be
other
makes with this problem; the wording in the standard isn't clear about
exactly how nested $() constructs in make should be parsed, and being
pedandtic (which in this case is opposite of having common sense) this is
a legal way to parse this construct.) (The issue w.r.t. the standard is
being
addressed elsewhere.)
(Or has this been fixed in OpenBSD?)
It works in gmake, and since it's been that way for a week or two,
presumably in
other makes as well.
Is this considered an acceptable usage for gcc's purposes, or not?
Donn