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

papi.h: Fix warnings for -Wstrict-prototypes #63

Conversation

anustuvicl
Copy link
Contributor

Warnings seen while compiling with gcc 7.5.0

/home/anustuv/papidev/papi-AP2/papi/src/install/include/papi.h:1224:4: warning: function declaration isn't a prototype [-Wstrict-prototypes]
    int PAPI_rate_stop(); /**< stops a running event set of a rate function */
    ^~~
/home/anustuv/papidev/papi-AP2/papi/src/install/include/papi.h:1241:4: warning: function declaration isn't a prototype [-Wstrict-prototypes]
    int PAPI_hl_stop(); /**< stops a running high-level event set */
    ^~~

Copy link
Contributor

@gcongiu gcongiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. rebase and merge please

@anustuvicl anustuvicl force-pushed the 2023.08.13-fix_papi.h_strict_prototypes_warning branch from 23a38c7 to 7ebbbc9 Compare August 15, 2023 02:58
@anustuvicl anustuvicl merged commit 3dcc8b1 into icl-utk-edu:master Aug 15, 2023
13 of 14 checks passed
@anustuvicl anustuvicl deleted the 2023.08.13-fix_papi.h_strict_prototypes_warning branch August 15, 2023 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants