diff options
author | Chris Robinson <[email protected]> | 2022-12-05 22:29:26 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-12-05 22:29:26 -0800 |
commit | 25a6814cf36bee82b24cb1b5f40769e66c327db4 (patch) | |
tree | 7e1d535174863b25d37ce6f7f1c9cf2f3db655fa /core/logging.cpp | |
parent | c55d6d8c345223c062dfdbd747fb13a8fd44aad5 (diff) |
Don't warn for attributes being in a later standard
C++ specifies that unknown attributes should be ignored and aren't an error.
Clang issues a warning when encountering a known attribute from newer standard
version than the target version. GCC recognizes attributes from newer standard
versions it's aware of, allowing improved compilation capabilities. Hopefully
Clang (and MSVC) will take advantage since it recognizes them, even if they
weren't standardized for the target version, but there's no need to warn about
known attributes in either case.
Diffstat (limited to 'core/logging.cpp')
0 files changed, 0 insertions, 0 deletions