We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
latest release (11.1.1), MSC 19.42.34433 (VS2022 with latest updates) complains:
fmt\include\fmt\base.h(1538) : warning C4702: unreachable code fmt\include\fmt\base.h(1542) : warning C4702: unreachable code fmt\include\fmt\format.h(3425) : warning C4702: unreachable code
enable/disable FMT_NORETURN resp. [[noreturn]] has no effect.
if (end - fill_end <= 0) { report_error("invalid format specifier"); return begin; }
Do other compiler complain if return begin; is removed?
return begin;
The text was updated successfully, but these errors were encountered:
I've also got some unreachable code warnings with fmt 11.1.1 CI log:
C:\actions-runner\_work\TRAP\TRAP\Dependencies\fmt\include\fmt\format.h(3508) : error C2220: the following warning is treated as an error C:\actions-runner\_work\TRAP\TRAP\Dependencies\fmt\include\fmt\format.h(2188) : warning C4702: unreachable code C:\actions-runner\_work\TRAP\TRAP\Dependencies\fmt\include\fmt\base.h(893) : warning C4702: unreachable code C:\actions-runner\_work\TRAP\TRAP\Dependencies\fmt\include\fmt\base.h(1324) : warning C4702: unreachable code C:\actions-runner\_work\TRAP\TRAP\Dependencies\fmt\include\fmt\base.h(1408) : warning C4702: unreachable code C:\actions-runner\_work\TRAP\TRAP\Dependencies\fmt\include\fmt\base.h(1538) : warning C4702: unreachable code C:\actions-runner\_work\TRAP\TRAP\Dependencies\fmt\include\fmt\base.h(1542) : warning C4702: unreachable code
Sorry, something went wrong.
We don't actively look into level 4 warnings since they are mostly noise but a PR to fix them would be welcome provided that it's not too intrusive.
No branches or pull requests
latest release (11.1.1), MSC 19.42.34433 (VS2022 with latest updates) complains:
enable/disable FMT_NORETURN resp. [[noreturn]] has no effect.
Do other compiler complain if
return begin;
is removed?The text was updated successfully, but these errors were encountered: