Skip to content

Commit 955800d

Browse files
committed
[dcl.attr.deprecated], [cpp.error] Replace "diagnostic message" with "warning"
1 parent 1abf091 commit 955800d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

source/declarations.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9598,9 +9598,10 @@
95989598

95999599
\pnum
96009600
\recommended
9601-
Implementations should use the \tcode{deprecated} attribute to produce a diagnostic
9602-
message in case the program refers to a name or entity other than to declare it, after a
9603-
declaration that specifies the attribute. The diagnostic message should include the text provided
9601+
Implementations should use the \tcode{deprecated} attribute to produce a warning
9602+
in case the program refers to a name or entity other than to declare it, after a
9603+
declaration that specifies the attribute.
9604+
The warning should include the text provided
96049605
within the \grammarterm{attribute-argument-clause} of any \tcode{deprecated} attribute applied
96059606
to the name or entity.
96069607
The value of

source/preprocessor.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@
20982098
\begin{ncsimplebnf}
20992099
\terminal{\# warning} \opt{pp-tokens} new-line
21002100
\end{ncsimplebnf}
2101-
requires the implementation to produce at least one diagnostic message
2101+
requires the implementation to produce at least one warning
21022102
for the preprocessing translation unit\iref{intro.compliance.general}.
21032103
\recommended
21042104
Any diagnostic message caused by either of these directives

0 commit comments

Comments
 (0)