Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[basic.scope.scope] Replace "warning" with "diagnostic message" #7728

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Eisenwave
Copy link
Contributor

We don't usually say "warning", not even in https://eel.is/c++draft/cpp.error#:preprocessing_directive,warning. Everywhere else, the standard talks about diagnostic messages.

@frederick-vs-ja
Copy link
Contributor

Hmm, the standard wording is currently saying "warning" for many times:

  • diagnostic message: [dcl.pre], [dcl.fct.def.delete], [dcl.attr.deprecated], [defns.diagnostic], [defns.undefined], [intro.compliance.general], [cpp.error]
  • warning: [basic.scope.scope], [dcl.attr.fallthrough], [dcl.attr.unused], [dcl.attr.nodiscard], [dcl.attr.noreturn], [diff.expr], [diff.stmt]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants