[Top][All Lists]

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

bug#7669: option "foreign" after "-Wall" turns off and portability warni

From: Stefano Lattarini
Subject: bug#7669: option "foreign" after "-Wall" turns off and portability warnings.
Date: Thu, 23 Dec 2010 15:46:19 +0100
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

tags 7669 patch

On Sunday 19 December 2010, Ralf Wildenhues wrote:
> * Stefano Lattarini wrote on Fri, Dec 17, 2010 at 07:52:29PM CET:
> > With automake >= 1.10, foreign *after* -Wall in AM_INIT_AUTOMAKE turns
> > off portability warnings.
> > While the current behaviour is due to various historical and implementation
> > reasons, IMHO it is counter-intuitive and somewhat "dangerous", since
> > programmers enabling the `foreign' option might unwittingly be prevented
> > from seeing portability warnings -- when they think to have enabled those
> > warnings!
Now I've posted a patch series about this; see:

> Fixing this will turn (at least user-provided) silent-rules rules noisy,
> I think.
Luckily no: the pre-existing code was already smart enough that I managed
to avoid this problem with no efforts.  I added a testcase about it, BTW.

> Given however that the nested variable expansion involved may
> be in a future Posix (if I get to analyzing the remaining questions from
> Eric in time), one possible strategy out is optimistically not warning
> about them any more and otherwise letting me get to the testing ... ;-)
This won't be necessary (but having nested variable expansion in POSIX
would be great anyway!)


reply via email to

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