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

            Bug ID: 90185
           Summary: diagnostic "argument pack of characters" sounds like a
                    complaint
           Product: gcc
           Version: 9.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 cp/parser.c:

/* http://cplusplus.github.io/EWG/ewg-active.html#66  */
pedwarn (DECL_SOURCE_LOCATION (decl), OPT_Wpedantic,
         "ISO C++ did not adopt string literal operator templa"
         "tes taking an argument pack of characters");

First, the words "templa" and "tes" should not be split.

Second, this diagnostic doesn't conform to the GCC Guidelines for Diagnostics,
which say that diagnostics should be helpful and lead the reader into the right
direction.

The part "ISO C++ did not accept" is not helpful at all. So what? When? What
were the circumstances? What would have happened if they had adopted them?

And what does this all mean for me? How do I fix my code when I get this
warning? That's the essential question that the diagnostic should answer.

Reply via email to