Merged
Conversation
8dd2cd0 to
05b635d
Compare
This was referenced Oct 17, 2025
Merged
a25c3f1 to
289607b
Compare
yhabteab
reviewed
Nov 17, 2025
Member
Oh, forgot to send my reply to this. These warning don't exist on my machine and replacing $ bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman
---And after going through the Bison docs, there's quite no difference between |
289607b to
4389abf
Compare
4389abf to
179aa12
Compare
Contributor
Author
|
This is necessary to stop MSVC complaining that "not all paths return a value", because it is not able to infer that the expression `false ? 0 : non_returning_function()` never returns. In the process of debugging this I've also slightly simplified the other assert macros and abort function, so they don't need compiler specific preprocessor-paths anymore.
179aa12 to
11e83b6
Compare
Contributor
Author
|
And the dumbest compiler award goes to... *drumroll* 🎉MSVC🎉, for the inability to infer that the expression |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Together with #9411, #9728, #9729 and #9730 this fixes most of the remaining compiler warnings, except the following:
-Wdangling-referenceinscheduleddowntime-apply.cpp, which I'm pretty sure are false positives.-Wdeprecated-declarationswarnings.%pure-parserbeing deprecated in the.yyparser files. At first I wanted to include them here, but despite things seemingly building fine it seems there's some additional implications with replacing%pure-parserwith%define api.pureand%error-verbosewith%define parse.error verbosethat I can't judge because I'm not a bison expert./Wall)