Skip to content

Fix some yacc warnings#26

Merged
crobinso merged 2 commits intolibguestfs:masterfrom
crobinso:yacc-warnings
Feb 23, 2026
Merged

Fix some yacc warnings#26
crobinso merged 2 commits intolibguestfs:masterfrom
crobinso:yacc-warnings

Conversation

@crobinso
Copy link
Collaborator

This fixes some yacc build output warnings. It does not address #25 which I just filed

We explicitly use bison and YACC incompatible features.
Pass -Wno-yacc to suppress YACC compat warnings we don't care about.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
/home/crobinso/src/guestfs-tools/builder/index-parse.y:96.1-12: warning:
  deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated]
     96 | %pure-parser
        | ^~~~~~~~~~~~
        | %define api.pure

Signed-off-by: Cole Robinson <crobinso@redhat.com>
@rwmjones
Copy link
Member

All obviously good to me.

@crobinso crobinso merged commit 5fc00dd into libguestfs:master Feb 23, 2026
1 check passed
@crobinso
Copy link
Collaborator Author

@rwmjones FYI here for this PR the default merge option was Create a merge commit, so maybe guestfs-tools repo needs a config change to default to rebase and merge, like we talked about on slack? (if settings look expected then I have no idea why this PR looked different)

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