facebook / fbthrift

Facebook's branch of Apache Thrift, including a new C++ server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: implicit instantiation of undefined template 'std::basic_ifstream<char>'

yurivict opened this issue · comments

/wrkdirs/usr/ports/devel/fbthrift/work/fbthrift-2022.08.15.00/thrift/compiler/generate/t_mstch_rust_generator.cc:1571:13: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
  auto in = std::ifstream(path);
            ^
/usr/include/c++/v1/iosfwd:150:32: note: template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_ifstream;
                               ^
1 error generated.

Version: 2022.08.15.00
clang-14
FreeBSD 13.1

Should be fixed by #513.