omitting -W, -Wall etc in configure

José Luis García Pallero jgpallero at gmail.com
Mon Mar 9 10:40:53 CDT 2009


I don't know if it possible to add, for example, an option like
--no-warning-flags to the configure script for disable the -Wxx options.

2009/3/9 Jaroslav Hajek <highegg at gmail.com>

> hi all,
>
> 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?
>
> cheers
>
> --
> RNDr. Jaroslav Hajek
> computing expert & GNU Octave developer
> Aeronautical Research and Test Institute (VZLU)
> Prague, Czech Republic
> url: www.highegg.matfyz.cz
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>



-- 
*****************************************
José Luis García Pallero
jgpallero at gmail.com
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090309/254b729c/attachment.html 


More information about the Help-octave mailing list