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

Unreachable statements in clock/clock.h #31

Open
codylico opened this issue Mar 20, 2020 · 0 comments
Open

Unreachable statements in clock/clock.h #31

codylico opened this issue Mar 20, 2020 · 0 comments

Comments

@codylico
Copy link

From building munit-plus on Travis CI (built with C++ 2011 on PGI C++ compiler):

pgc++  --c++11 -mp -o example munit.cpp example.cpp
munit.cpp:
"munit.cpp", line 596: warning: statement is unreachable
    return 0;
    ^
"munit.cpp", line 654: warning: statement is unreachable
    return 0;
    ^
"munit.cpp", line 714: warning: statement is unreachable
    return 0;
    ^

The relevant lines on this repository seem to be in clock/clock.h (commit 5834798):

Feel free to label as wontfix.

Here is a link to the relevant build job on Travis CI: https://travis-ci.com/github/codylico/munit-plus/jobs/300147973

Here is a link to the GitHub repository for the project:
https://github.com/codylico/munit-plus

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

No branches or pull requests

1 participant