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

Eliminate NVCC NVidia compiler emits unreachable code warnings #1485

Merged
merged 1 commit into from
Dec 18, 2019

Conversation

gsjaardema
Copy link
Contributor

Similar to the MSC Compiler, the NVidia NVCC compiler also
emits unreachable code warnings when there is a return
statement following an exception. These changes eliminate
those warnings.

I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.

Similar to the MSC Compiler, the NVidia NVCC compiler also
emits unreachable code warnings when there is a return
statement following an exception.  These changes eliminate
those warnings.
@vitaut vitaut merged commit 6100ed4 into fmtlib:master Dec 18, 2019
@vitaut
Copy link
Contributor

vitaut commented Dec 18, 2019

Thanks

@gsjaardema gsjaardema deleted the nvcc_unreachable_fix branch December 18, 2019 18:40
@gsjaardema
Copy link
Contributor Author

Thanks for the great library and guiding me to the correct way to fix the issue. Took me awhile, but now understand the problems with my first attempt.

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.

None yet

2 participants