From: Bruno Haible Date: Thu, 19 Jun 2025 11:36:10 +0000 (+0200) Subject: Deprecate the gfc-internal-format flag. X-Git-Tag: v0.26~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c41b836e6ca10e075d34955c63abe3713795f56;p=thirdparty%2Fgettext.git Deprecate the gfc-internal-format flag. * gettext-tools/src/format-gfc-internal.c: Update comment. * gettext-tools/doc/gettext.texi (PO Files): Mark gfc-internal-format as deprecated. (gfc-internal-format): Mention "up to GCC 14". --- diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi index ec09e5ef3..90e5c2f97 100644 --- a/gettext-tools/doc/gettext.texi +++ b/gettext-tools/doc/gettext.texi @@ -1829,7 +1829,9 @@ Likewise for the GCC sources, see @ref{gcc-internal-format}. @kwindex gfc-internal-format@r{ flag} @itemx no-gfc-internal-format @kwindex no-gfc-internal-format@r{ flag} -Likewise for the GNU Fortran Compiler sources, see @ref{gfc-internal-format}. +Likewise for the GNU Fortran Compiler sources up to GCC 14.x, +see @ref{gfc-internal-format}. +These flags are deprecated. @item ycp-format @kwindex ycp-format@r{ flag} @@ -10466,7 +10468,8 @@ various other types of compiler-internal objects, @subsection GFC internal Format Strings These format strings are used inside the GNU Fortran Compiler sources, -that is, the Fortran frontend in the GCC sources. In such a format +that is, the Fortran frontend in the GCC sources, up to GCC 14.x. +In such a format string, a directive starts with @samp{%} and is finished by a specifier: @samp{%} denotes a literal percent sign, @samp{C} denotes the current source location, @samp{L} denotes a source location, @samp{c} diff --git a/gettext-tools/src/format-gfc-internal.c b/gettext-tools/src/format-gfc-internal.c index ebb1ab7a4..b46602c6f 100644 --- a/gettext-tools/src/format-gfc-internal.c +++ b/gettext-tools/src/format-gfc-internal.c @@ -58,7 +58,10 @@ When numbered argument specifications are used, specifying the Nth argument requires that all the leading arguments, from the first to the (N-1)th, are - specified in the format string. */ + specified in the format string. + + These gfc-internal format strings were removed from GCC on 2024-10-11 (for + GCC 15.1.0). */ enum format_arg_type {