public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/94370] New: double negation in diagnostic
@ 2020-03-27 19:49 roland.illig at gmx dot de
  2020-03-29 15:01 ` [Bug c/94370] " marxin at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: roland.illig at gmx dot de @ 2020-03-27 19:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94370

            Bug ID: 94370
           Summary: double negation in diagnostic
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

>From c-typeck.c:
> warning_at (input_location, OPT_Wattributes,
>             "%qs attribute cannot be applied to a function that "
>             "does not take variable arguments", "format");

"cannot ... does not" is a double negation, which for most people is difficult
to understand. For situations like these, there is the word "only":

"%qs attribute can only be applied to a function that "
"takes variable arguments"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/94370] double negation in diagnostic
  2020-03-27 19:49 [Bug c/94370] New: double negation in diagnostic roland.illig at gmx dot de
@ 2020-03-29 15:01 ` marxin at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-03-29 15:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94370

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
      Known to work|                            |9.3.0
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-03-29
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |msebor at gcc dot gnu.org
      Known to fail|                            |10.0

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
The wording was added by Martin, leaving to him.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-29 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-27 19:49 [Bug c/94370] New: double negation in diagnostic roland.illig at gmx dot de
2020-03-29 15:01 ` [Bug c/94370] " marxin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).