Warnings when building libgfortran
NightStrike
nightstrike@gmail.com
Wed May 7 10:40:00 GMT 2008
On 5/7/08, FX <fxcoudert@gmail.com> wrote:
> I see today:
>
> ../../../trunk/libgfortran/generated/all_l8.c: In function 'all_l8':
> ../../../trunk/libgfortran/generated/all_l8.c:142: warning: format
> '%d' expects type 'int', but argument 2 has type 'index_type'
>
> and loads other such warnings. I know we can't make libgfortran build
> with -Werror, but we should really try to avoid warnings as much as
> possible. What would you think of a way to make them show up more
> prominently (like dumping them to a file, and having the Makefile
> check and issue a summary at end of compilation)?
FWIW, I build with 'make > /dev/null', which makes all of stderr very
prominent, as it's all that I see. It is very useful to see all of
the warnings.
More information about the Fortran
mailing list