This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] Experimental LEN_TRIM and TRIM patch
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Date: Wed, 11 Feb 2009 22:50:47 +0100
- Subject: Re: [Patch, Fortran] Experimental LEN_TRIM and TRIM patch
> I would vote for removing the warning.
Why not something such as: "Warning: CHARACTER variable xxx has a negative length,
the length has been set to zero" may be only with -Wall. Either the negative length
is an error and it is good to warn the unser or it is intended and in this case
the user is supposed to know what he is doing.
Dominique