Skip to content
New issue

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

kaldi uses the C++17 feature while compiling in the C++14 mode #4892

Open
yurivict opened this issue Dec 15, 2023 · 0 comments
Open

kaldi uses the C++17 feature while compiling in the C++14 mode #4892

yurivict opened this issue Dec 15, 2023 · 0 comments
Labels

Comments

@yurivict
Copy link

/usr/local/libexec/ccache/c++ -DHAVE_CLAPACK=1 -DKALDI_NO_PORTAUDIO=1 -I/usr/ports/audio/kaldi/work/kaldi-21ae411/tools/CLAPACK -I/usr/ports/audio/kaldi/work/kaldi-21ae411/src/tree/.. -I/usr/ports/audio/kaldi/work/kaldi-21ae411/src/util/.. -I/usr/ports/audio/kaldi/work/kaldi-21ae411/src/matrix/.. -I/usr/ports/audio/kaldi/work/kaldi-21ae411/src/base/.. -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -std=c++14 -pthread -MD -MT src/tree/CMakeFiles/kaldi-tree.dir/tree-renderer.cc.o -MF src/tree/CMakeFiles/kaldi-tree.dir/tree-renderer.cc.o.d -o src/tree/CMakeFiles/kaldi-tree.dir/tree-renderer.cc.o -c /usr/ports/audio/kaldi/work/kaldi-21ae411/src/tree/tree-renderer.cc
In file included from /usr/ports/audio/kaldi/work/kaldi-21ae411/src/tree/tree-renderer.cc:20:
In file included from /usr/ports/audio/kaldi/work/kaldi-21ae411/src/tree/../tree/tree-renderer.h:26:
In file included from /usr/local/include/fst/fstlib.h:42:
In file included from /usr/local/include/fst/expanded-fst.h:33:
In file included from /usr/local/include/fst/fst.h:41:
In file included from /usr/local/include/fst/arc.h:29:
In file included from /usr/local/include/fst/error-weight.h:21:
/usr/local/include/fst/util.h:285:6: error: no template named 'optional' in namespace 'std'
std::optional<int64> ParseInt64(std::string_view s);
~~~~~^

clang-16
FreeBSD 13.2

@yurivict yurivict added the bug label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant