From 0c42effa24cf90bbcd90809bd7b4470e9667c54a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Mokrej=C5=A1?= Date: Fri, 16 Oct 2026 18:16:19 +0200 Subject: [PATCH] Fix VectorHashBiTable's copy constructor in the vendored OpenFst 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' 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 --- contrib/fstlib/fst/bi-table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/fstlib/fst/bi-table.h b/contrib/fstlib/fst/bi-table.h index 46863cf..9f9d340 100644 --- a/contrib/fstlib/fst/bi-table.h +++ b/contrib/fstlib/fst/bi-table.h @@ -330,7 +330,7 @@ class VectorHashBiTable { } VectorHashBiTable(const VectorHashBiTable &table) - : selector_(table.s_), + : selector_(table.selector_), fp_(table.fp_), h_(table.h_), id2entry_(table.id2entry_),