bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64798] [troff] "warning" with or without a colon in a diagnostic m


From: Bjarni Ingi Gislason
Subject: [bug #64798] [troff] "warning" with or without a colon in a diagnostic message?
Date: Thu, 19 Oct 2023 18:29:11 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64798>

                 Summary: [troff] "warning" with or without a colon in a
diagnostic message?
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Thu 19 Oct 2023 10:29:09 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Lint
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 19 Oct 2023 10:29:09 PM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: "warning" with or without a colon in a diagnostic message?

  The gcc compiler uses a colon, so does "clang" in their "message" part
of an diagnostics.

  The "GNU coding standards" (https://www.gnu.org/prep/standards/)
does not show an example for the message part.

  It is better to be able to seek only one version of "warning?" and
"error?" than two.

Examples from src/...

src/roff/troff/input.cpp:      fprintf(stderr, "warning [page %d, line %d",
src/roff/troff/input.cpp:      fprintf(stderr, "warning [page %d, %.1f%c", s








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64798>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]