[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Last part of PR/347: warn about $(foo bar).
From: |
Alexandre Duret-Lutz |
Subject: |
Re: Last part of PR/347: warn about $(foo bar). |
Date: |
Thu, 22 Aug 2002 11:01:05 +0200 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) |
>>> "Ralf" == Ralf Corsepius <address@hidden> writes:
[...]
Ralf> I my case this warning would be inacceptable because it would affect
Ralf> ~1000 Makefile.ams.
Indeed :)
>> You can enable it with -Wportability
>> and disable it with -Wno-portability (either can be set in AUTOMAKE_OPTIONS
>> as one of the test case shows). Is this enough?
Ralf> Yes, this is what I had in mind. IMO, -Wno-portability should be the
Ralf> default (at least for 1.7), because this is closer to the current
Ralf> behavior and people would feel pee'd if their long term Makefile.am
Ralf> suddenly stop working.
Currently -Wno-portability is the default in --foreign mode
while -Wportability is the default for --gnu and --gnits.
I'm fine with defaulting to -Wno-portability in all cases, to
help the 1.6-1.7 transition (since -Wno-portability is not
supported by 1.6).
Ralf> Making it the default for 1.8 might be worth it, but I am
Ralf> not sure.
I'd vote for this. I expect Automake to help rookie Makefile.am
authors writing portable Makefiles. Veterans that *know* what
they do can tell Automake they play a different game. I don't
think the converse is reasonable (clueless people asking for
extra help).
Ralf> May-be having a --pedanic mode instead would be better.
I guess that'd be pretty much the same as `-Wall' or `-Wall -Werror'.
--
Alexandre Duret-Lutz