We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 955800d commit dc65ff3Copy full SHA for dc65ff3
source/intro.tex
@@ -694,6 +694,18 @@
694
\tcode{false}.
695
\end{example}
696
697
+\indexdefn{warning}%
698
+\definition{warning}{defns.warning}
699
+message belonging to a subset of
700
+\termref{defns.diagnostic}{diagnostic message}{s}
701
+produced to provide the user with information about the program,
702
+not as a consequence of a \Cpp{} program being rejected
703
+
704
+\begin{example}
705
+The \tcode{#warning} directive produces a warning.
706
+The \tcode{#error} directive produces a diagnostic message that is not a warning\iref{cpp.error}.
707
+\end{example}
708
709
\indexdefn{program!well-formed}%
710
\definition{well-formed program}{defns.well.formed}
711
\Cpp{} program constructed according to the syntax and semantic rules
0 commit comments