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

GH-102711: Fix warnings found by clang #102712

Merged
merged 1 commit into from
Mar 28, 2023
Merged

GH-102711: Fix warnings found by clang #102712

merged 1 commit into from
Mar 28, 2023

Commits on Mar 15, 2023

  1. pythonGH-102711: Fix -Wstrict-prototype warnings found by clang

    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.
    Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
    Chenxi Mao committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    2f1e655 View commit details
    Browse the repository at this point in the history