Frederic Marchal <fmarchal at perso dot be> changed:

           What    |Removed                     |Added
                 CC|                            |fmarchal at perso dot be

--- Comment #2 from Frederic Marchal <fmarchal at perso dot be> ---
(In reply to Manuel López-Ibáñez from comment #1)
> (In reply to Roland Illig from comment #0)
> > from fortran/primary.c:
> > 
> > if (!gfc_notify_std (GFC_STD_F2008, "No initializer for "
> >                      "allocatable component '%qs' given in the "
> >                      "structure constructor at %C", comp->name))
> > 
> > The single quotes around %qs are superfluous.
> There may be quite a few of this or '%s'. Fortran didn't support %qs until
> very recently.

I think you are wrong. It isn't '%s' but '%qs'. It means quotes around a quoted
string i.e. double quoted string.

In English, the above message ends up as ''%s'' which might be acceptable.

In French, the above message shows up as '« %s »' which is unacceptable.

The quotes must be dropped around %qs in the source code located in function
build_actual_constructor() near fortran/primary.c:2672.

Reply via email to