This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: On character constants


2010/2/2 Tobias Burnus <burnus@net-b.de>:
> The Fortran standard mandates that all strings in a constructor have the
> same length; I think this is a constraint, i.e. something a compiler has
> to diagnose - thus a check was added. I recall that we considered
> (continuing) to allow it as extension, but it was unclear how the proper
> length should be determined; one can construct corner cases where one
> really does not know which value would be "correct" - thus we simply
> follow the standard and let gfortran always reject it.
>

Hi Tobias,

just out of curiosity, can you give an example of such a corner case?

Regards,

Arjen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]