[Top][All Lists]

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

Re: omitting -W, -Wall etc in configure

From: Jaroslav Hajek
Subject: Re: omitting -W, -Wall etc in configure
Date: Mon, 9 Mar 2009 21:19:05 +0100

On Mon, Mar 9, 2009 at 6:24 PM, John W. Eaton <address@hidden> wrote:
> On  9-Mar-2009, Jaroslav Hajek wrote:
> | currently, Octave's configure script automatically adds -Wall, -W and
> | -Wextra to the C++ flags. This works fine with gcc; however, with
> | Intel C++ it's not so nice:
> | -W and -Wextra are not supported, but ignored, so the configure
> | scripts detects them as "accepted" and adds them, which makes icpc
> | output a warning about ignored options after each source.
> | -Wall is even worse as it makes the Intel compiler dump out an
> | incredible number of warnings and remarks like "floating-point
> | equality comparisons are unreliable" or "operands evaluated in
> | unspecified order", which makes it impossible to inspect the progress
> | of the build process visually, because the screen is flooded.
> | I do not see, however, any built-in way to disable these flags in the
> | configure scrip (this is a purely production build, so I don't need
> | them at all).
> | Have I overlooked something? Perhaps we could add an option for that?
> I checked in the following change.  Does it do what you want?
> jwe

I seems so. Thanks!

RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic

reply via email to

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