[m-rev.] for review: disable_warning [unknown_format_calls]

Zoltan Somogyi zoltan.somogyi at runbox.com
Wed Sep 7 12:18:09 AEST 2022



On Wed, 24 Aug 2022 16:36:55 +1000 (AEST), "Zoltan Somogyi" <zoltan.somogyi at runbox.com> wrote:

> 
> 2022-08-24 16:26 GMT+10:00 "Peter Wang" <novalazy at gmail.com>:
> >> + at item @code{unknown_format_calls}
> >> +Disable the generation of warnings about calls to
> >> +string.format, io.format or stream.string_writer.format
> >> +for which the compiler cannot tell whether there are any mismatches
> >> +between the format string and the supplied values.
> >>  @end table
> > 
> > Mark that up with @code or @samp, don't know which.
> 
> Nearby code uses @code, so I used that too.
> 
> Thanks for the review.

Attached is the second part of this change, which uses
the new capability. For post-commit review by anyone.
Note that the diff updates configure.ac to require a compiler
with the first half of this change, which was committed
aug 24.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.ufc2
Type: application/octet-stream
Size: 484 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20220907/468b059f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.ufc2
Type: application/octet-stream
Size: 6324 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20220907/468b059f/attachment-0001.obj>


More information about the reviews mailing list