https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90184
Bug ID: 90184 Summary: confusing diagnostic "attribute using prefix" 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: pedwarn (input_location, 0, "attribute using prefix only available " "with %<-std=c++17%> or %<-std=gnu++17%>"); The words "attribute using prefix" can be interpreted by humans in really many different ways: - "attribute" can be a noun or an adjective - "using" can be a verb or the C++ keyword Is this about an "attribute that is using a prefix"? Is this about a "prefix to an attribute called "using""? Is this about a prefix called "attribute using"? Since the comment above this diagnostic mentions that "attribute-using-prefix" is a fixed term in the C++ grammar, the diagnostic should use hyphens instead of spaces.