aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc-changelog/git_commit.py
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2025-07-26 15:31:33 +0200
committerThomas Schwinge <tschwinge@baylibre.com>2025-07-26 16:02:20 +0200
commite48e340687384be451725babe6608e617212a4e6 (patch)
tree3c36eb1129b99924f884ed9d9fb77da4d790d434 /contrib/gcc-changelog/git_commit.py
parent7ac42d3d7c4557a613bd33150e7f6b368418f555 (diff)
downloadgcc-e48e340687384be451725babe6608e617212a4e6.zip
gcc-e48e340687384be451725babe6608e617212a4e6.tar.gz
gcc-e48e340687384be451725babe6608e617212a4e6.tar.bz2
diagnostics: convert diagnostic_t to enum class diagnostics::kind: restore build with GCC 5
Building with GCC 5, with commit 3cc27ed5b6fb4253d3fe2139dcc6295e85372a3a "diagnostics: convert diagnostic_t to enum class diagnostics::kind", we got: ../../source-gcc/gcc/diagnostics/option-classifier.cc: In member function ‘diagnostics::kind diagnostics::option_classifier::update_effective_level_from_pragmas(diagnostics::diagnostic_info*) const’: ../../source-gcc/gcc/diagnostics/option-classifier.cc:212:20: error: ‘kind’ is not a class, namespace, or enumeration if (kind != kind::unspecified) ^ make[2]: *** [Makefile:1212: diagnostics/option-classifier.o] Error 1 Resolve this similar to, for example, commit r14-4521-g08d0f840dc7ad212ab75d094373b01cbfc004e67 "analyzer: fix build with gcc < 6". gcc/ * diagnostics/option-classifier.cc (update_effective_level_from_pragmas): In presence of local variable 'kind', explicitly state 'diagnostics::' scope for 'kind' enum.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions