diff options
author | Victor Stinner <vstinner@python.org> | 2022-05-03 18:47:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 18:47:29 (GMT) |
commit | ff3e9cdf334737aeedbbec2e5a219084d27db9cd (patch) | |
tree | 2ad9f899f486c03929282a520cb0a6f538447132 /Include/enumobject.h | |
parent | b270b82f1137ff25ee263eafd31503d760f3403d (diff) | |
download | cpython-ff3e9cdf334737aeedbbec2e5a219084d27db9cd.zip cpython-ff3e9cdf334737aeedbbec2e5a219084d27db9cd.tar.gz cpython-ff3e9cdf334737aeedbbec2e5a219084d27db9cd.tar.bz2 |
gh-91320: Fix more old-style cast warnings in C++ (#92247)
Use _Py_CAST(), _Py_STATIC_CAST() and _PyASCIIObject_CAST() in
static inline functions to fix C++ compiler warnings:
"use of old-style cast" (clang -Wold-style-cast).
test_cppext now builds the C++ test extension with -Wold-style-cast.
Diffstat (limited to 'Include/enumobject.h')
0 files changed, 0 insertions, 0 deletions