This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Warnings when building libgfortran
- From: FX <fxcoudert at gmail dot com>
- To: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Date: Wed, 7 May 2008 10:56:35 +0100
- Subject: Warnings when building libgfortran
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=xa5STuWKsV1qcHSuMmp5wHUW63UrKluml9R6g4rPHrQ=; b=cdN+lStzIr+1aryyp1Zo3QPZhAi55RgbW4b71myRr3WwAhn9+W1Cj79h68USRTkmJYXvPU+PFDfzLtOlXbP6ZD9dQ5n6ihGMnXziqljFPEq8HaSX7+8NAHGe3dKyHTI2l1m2GVlz8Lh8J4LH2mW6ipeFFJs8Ogeu2iR52DEK4cU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=wU5I+Yzr6aIwUkSzvEp2BRmpkaZ8PA0V9iEtN9IgBJKYiNbA36XoS0WzWNMWRGOSl6danPCFAlZJ86nFf476wOAjurgzE3y29ne47fJ7D+MuTnI4Y02oAtW7X15x60OsGrusYWyUlPZa6SXmtJiUaQbzavgERRIbm0o50J4+BGk=
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)?
FX
--
FX Coudert
http://www.homepages.ucl.ac.uk/~uccafco/