automake-patches
[Top][All Lists]
Advanced

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

Re: [RFC + SIMPLE PATCHES] {maint} foreign mode and -Wportability


From: Ralf Wildenhues
Subject: Re: [RFC + SIMPLE PATCHES] {maint} foreign mode and -Wportability
Date: Tue, 5 Oct 2010 06:41:55 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

Hello Stefano,

* Stefano Lattarini wrote on Mon, Oct 04, 2010 at 06:06:30PM CEST:
> Currently, automake *force* the disabling of `-Wportability' when
> in "foreign" mode.  What is the rationale for this?

Please search the archives.

The git log takes me to Release-1-9-236-g0ea21f8, which takes me to
http://lists.gnu.org/archive/html/automake-patches/2006-03/msg00001.html

The point is that users complained a lot about seeing warnings to add
AM_PROG_CC_C_O when they never cared about that odd 15-year old
compiler, or about MSVC support.  Let's not go back there.

I agree that it is wrong to let '-Wportability foreign' not produce
portability warnings (esp. since the option parsing order between
command-line, options in configure.ac, and options in Makefile.am
makes overriding hard), but I think the right fix for that would be
to remember whether we defaulted the '-Wportability' setting or
whether it came from an explicit setting.

Thanks,
Ralf



reply via email to

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