This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

make versionitis? (OpenBSD)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]