summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-03-28 09:27:41 (GMT)
committerGitHub <noreply@github.com>2023-03-28 09:27:41 (GMT)
commitaae84a0e849adc7486115b72e082e6896eebc3d5 (patch)
treeca6924b1f9aaab4722f445b251174c8189afa345 /Misc/NEWS.d
parentd445147dfa04bfd52f1cfa7058f4428ca4c7c694 (diff)
downloadcpython-aae84a0e849adc7486115b72e082e6896eebc3d5.zip
cpython-aae84a0e849adc7486115b72e082e6896eebc3d5.tar.gz
cpython-aae84a0e849adc7486115b72e082e6896eebc3d5.tar.bz2
[3.10] GH-102711: Fix warnings found by clang (GH-102712) (#103076)
There are some warnings if build python via clang: Parser/pegen.c:812:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] _PyPegen_clear_memo_statistics() ^ void Parser/pegen.c:820:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] _PyPegen_get_memo_statistics() ^ void Fix it to make clang happy. (cherry picked from commit 7703def37e4fa7d25c3d23756de8f527daa4e165) Signed-off-by: Chenxi Mao <chenxi.mao@suse.com> Co-authored-by: Chenxi Mao <chenxi.mao@suse.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Build/2023-03-15-02-03-39.gh-issue-102711.zTkjts.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2023-03-15-02-03-39.gh-issue-102711.zTkjts.rst b/Misc/NEWS.d/next/Build/2023-03-15-02-03-39.gh-issue-102711.zTkjts.rst
new file mode 100644
index 0000000..5118439
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2023-03-15-02-03-39.gh-issue-102711.zTkjts.rst
@@ -0,0 +1 @@
+Fix ``-Wstrict-prototypes`` compiler warnings.