Repository navigation
Conversation
contrib/fstlib/fst/bi-table.h initialised selector_ from table.s_, a member that does not exist. Compilers that check member access in uninstantiated templates reject it -- GCC 16 and Clang 19 stop on src/lib/align_fst.cc and src/lib/mutation_fst.cc with fst/bi-table.h:333:25: error: 'const class fst::VectorHashBiTable<I, T, S, FP, H, HS>' has no member named 's_' and every compiler rejects it once the copy constructor is used. OpenFst 1.8.4 has the same one-line fix, selector_(table.selector_); this backports it to the vendored 1.8.3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
The vendored OpenFST library has been updated to 1.8.5. |
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.
VectorHashBiTable's copy constructor incontrib/fstlib/fst/bi-table.hinitialisesselector_fromtable.s_, a member that does not exist. Compilers that check member access in uninstantiated templates reject the header, so coati does not build with GCC 16 or Clang 19 --src/lib/align_fst.ccandsrc/lib/mutation_fst.ccstop withOpenFst 1.8.4 has the same one-line fix,
selector_(table.selector_); this backports it to the vendored 1.8.3. The copy constructor is now identical to 1.8.4's.Test
gcc:16Docker image), every translation unit checked with-fsyntax-only:mainfails 2 of 35 (the two above); this branch, configured with-Dtest=true, compiles all 52.ninja -k 0:mainfails the same two and nothing else; this branch builds 46/46.meson testpasses 49/49.VectorHashBiTablefails to compile againstmainwith every one of these compilers, GCC 14 included, and compiles and runs correctly against this branch.Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com