I am encountering an error when I try to make in festvox. Below I have provided what I get when I run Festvox. I know its too long but I would appreciate your help
making in . ...
making in src ...
making in src/general ...
gcc -c -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -Wall -O2 -I/home/mogale/voice/sources/festvox/../speech_tools/include -c -o smooth_f0_main.o smooth_f0_main.cc
smooth_f0_main.cc: In function ‘int main(int, char**)’:
smooth_f0_main.cc:142:15: error: ‘class EST_Relation’ has no member named ‘last’; did you mean ‘rlast’?
if (r->last()->F("end") > f0_in.end())
^~~~
rlast
smooth_f0_main.cc:146:25: error: ‘class EST_Relation’ has no member named ‘last’; did you mean ‘rlast’?
(int)(cn-1+((r->last()->F("end")-f0_in.end())/f0_in.shift())),
^~~~
rlast
smooth_f0_main.cc:156:10: error: ‘class EST_Relation’ has no member named ‘last’; did you mean ‘rlast’?
if ((r->last() == 0) ||
^~~~
rlast
smooth_f0_main.cc:157:10: error: ‘class EST_Relation’ has no member named ‘last’; did you mean ‘rlast’?
(r->last()->F("end") < f0_in.end()))
^~~~
rlast
smooth_f0_main.cc:170:16: error: ‘class EST_Item’ has no member named ‘next’; did you mean ‘set’?
item = item->next();
^~~~
set
Makefile:95: recipe for target 'smooth_f0_main.o' failed
make[2]: *** [smooth_f0_main.o] Error 1
making in src/diphones ...
making in src/eval ...
making in src/promptselect ...
making in src/vc ...
making in src/vc/src ...
making in src/vc/src/sp ...
making in src/vc/src/sub ...
g++ -g -O2 -Wall -c gmm_sub.cc -o gmm_sub.o
gmm_sub.cc: In function ‘double get_gauss_jde_dia(long int, DVECTOR, DVECTOR, DMATRIX, DMATRIX, DMATRIX)’:
gmm_sub.cc:763:16: warning: variable ‘clsnum’ set but not used [-Wunused-but-set-variable]
long k, b, clsnum, dim, dim2;
^~~~~~
In file included from ../include/option.h:49:0,
from gmm_sub.cc:52:
gmm_sub.cc: In function ‘DVECTOR_STRUCT* xget_sumgvec_gammamat_file(char*, long int, long int, char*)’:
../include/defs.h:83:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
#define NUL '\0'
^
gmm_sub.cc:1028:46: note: in expansion of macro ‘NUL’
if ((ifp = fopen(gaussmatfile, "rb")) == NUL) {
^~~
../include/defs.h:83:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
#define NUL '\0'
^
gmm_sub.cc:1032:46: note: in expansion of macro ‘NUL’
if ((ofp = fopen(gammamatfile, "wb")) == NUL) {
^~~
Makefile:60: recipe for target 'gmm_sub.o' failed
make[4]: *** [gmm_sub.o] Error 1
making in src/vc/src/analysis ...
g++ -o analysis main.o analysis_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'analysis' failed
make[4]: *** [analysis] Error 1
making in src/vc/src/extdim ...
g++ -o extdim main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'extdim' failed
make[4]: *** [extdim] Error 1
making in src/vc/src/f0stats ...
g++ -o f0stats main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'f0stats' failed
make[4]: *** [f0stats] Error 1
making in src/vc/src/gmmpara ...
g++ -o gmm_para main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:64: recipe for target 'gmm_para' failed
make[4]: *** [gmm_para] Error 1
making in src/vc/src/vqlbl ...
g++ -o vqlbl main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'vqlbl' failed
make[4]: *** [vqlbl] Error 1
making in src/vc/src/cov2dia ...
g++ -o cov2dia main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'cov2dia' failed
make[4]: *** [cov2dia] Error 1
making in src/vc/src/extfrm ...
g++ -o extfrm main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'extfrm' failed
make[4]: *** [extfrm] Error 1
making in src/vc/src/gmm ...
g++ -o gmm_jde main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'gmm_jde' failed
make[4]: *** [gmm_jde] Error 1
making in src/vc/src/utt2f0 ...
g++ -o utt2f0 main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'utt2f0' failed
make[4]: *** [utt2f0] Error 1
making in src/vc/src/dtw ...
g++ -o dtw main.o dtw_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'dtw' failed
make[4]: *** [dtw] Error 1
making in src/vc/src/f0map ...
g++ -o f0map main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'f0map' failed
make[4]: *** [f0map] Error 1
making in src/vc/src/gmmmap ...
g++ -o gmmmap main.o gmmmap_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'gmmmap' failed
make[4]: *** [gmmmap] Error 1
making in src/vc/src/jdmat ...
g++ -o jdmat main.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:64: recipe for target 'jdmat' failed
make[4]: *** [jdmat] Error 1
making in src/vc/src/mlpg ...
g++ -o mlpg main.o mlpg_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:67: recipe for target 'mlpg' failed
make[4]: *** [mlpg] Error 1
making in src/vc/src/synthesis ...
g++ -o synthesis main.o synthesis_sub.o vocoder_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:67: recipe for target 'synthesis' failed
make[4]: *** [synthesis] Error 1
making in src/vc/src/vq ...
g++ -o lbg main.o vq_sub.o -L../lib -lsub -lsp
/usr/bin/ld: cannot find -lsub
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'lbg' failed
make[4]: *** [lbg] Error 1
../../../config/common_make_rules:64: recipe for target '.make_build_dirs' failed
make[3]: *** [.make_build_dirs] Error 2
../..//config/common_make_rules:64: recipe for target '.make_build_dirs' failed
make[2]: *** [.make_build_dirs] Error 2
making in src/ehmm ...
making in src/ehmm/src ...
g++ -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -Wall -c -o FeatureExtraction.o FeatureExtraction.cc
FeatureExtraction.cc: In function ‘int main(int, char**)’:
FeatureExtraction.cc:243:13: error: no match for ‘operator==’ (operand types are ‘std::ifstream {aka std::basic_ifstream}’ and ‘int’)
if (fp_in == 0) {
~~~~~~^~~~
FeatureExtraction.cc:243:13: note: candidate: operator==(int, int)
FeatureExtraction.cc:243:13: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘int’
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
from /usr/include/c++/7/bits/basic_ios.h:37,
from /usr/include/c++/7/ios:44,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: candidate: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
^~~~~~~~
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/system_error:311:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_condition&)
operator==(const error_condition& __lhs,
^~~~~~~~
/usr/include/c++/7/system_error:311:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:304:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_code&)
operator==(const error_condition& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:304:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:297:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_condition&)
operator==(const error_code& __lhs, const error_condition& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:297:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:292:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_code&)
operator==(const error_code& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:292:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6043:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6043:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6031:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const _CharT* __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6031:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: mismatched types ‘const _CharT*’ and ‘std::basic_ifstream’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6017:5: note: candidate: template typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::__cxx11::basic_string<_CharT>&, const std::__cxx11::basic_string<_CharT>&)
operator==(const basic_string<_CharT>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6017:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6009:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6009:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/allocator.h:152:5: note: candidate: template bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
operator==(const allocator<_Tp>&, const allocator<_Tp>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:152:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/allocator.h:146:5: note: candidate: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
operator==(const allocator<_T1>&, const allocator<_T2>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:146:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: candidate: template bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
operator==(const move_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
operator==(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator==(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: candidate: template bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator==(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_pair.h:448:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:448:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::pair<_T1, _T2>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/iosfwd:40:0,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/postypes.h:216:5: note: candidate: template bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^~~~~~~~
/usr/include/c++/7/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:243:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::fpos<_StateT>’
if (fp_in == 0) {
^
FeatureExtraction.cc: In function ‘int binarytoascii_new(char*, char*, int)’:
FeatureExtraction.cc:831:13: error: no match for ‘operator==’ (operand types are ‘std::ifstream {aka std::basic_ifstream}’ and ‘int’)
if (fp_in == 0) {
~~~~~~^~~~
FeatureExtraction.cc:831:13: note: candidate: operator==(int, int)
FeatureExtraction.cc:831:13: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘int’
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
from /usr/include/c++/7/bits/basic_ios.h:37,
from /usr/include/c++/7/ios:44,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: candidate: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
^~~~~~~~
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/system_error:311:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_condition&)
operator==(const error_condition& __lhs,
^~~~~~~~
/usr/include/c++/7/system_error:311:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:304:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_code&)
operator==(const error_condition& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:304:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:297:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_condition&)
operator==(const error_code& __lhs, const error_condition& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:297:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:292:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_code&)
operator==(const error_code& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:292:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6043:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6043:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6031:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const _CharT* __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6031:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: mismatched types ‘const _CharT*’ and ‘std::basic_ifstream’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6017:5: note: candidate: template typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::__cxx11::basic_string<_CharT>&, const std::__cxx11::basic_string<_CharT>&)
operator==(const basic_string<_CharT>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6017:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/basic_string.h:6009:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6009:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/allocator.h:152:5: note: candidate: template bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
operator==(const allocator<_Tp>&, const allocator<_Tp>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:152:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/allocator.h:146:5: note: candidate: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
operator==(const allocator<_T1>&, const allocator<_T2>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:146:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: candidate: template bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
operator==(const move_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
operator==(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator==(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: candidate: template bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator==(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/stl_pair.h:448:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:448:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::pair<_T1, _T2>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/iosfwd:40:0,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from FeatureExtraction.cc:43:
/usr/include/c++/7/bits/postypes.h:216:5: note: candidate: template bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^~~~~~~~
/usr/include/c++/7/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
FeatureExtraction.cc:831:16: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::fpos<_StateT>’
if (fp_in == 0) {
^
: recipe for target 'FeatureExtraction.o' failed
make[3]: *** [FeatureExtraction.o] Error 1
making in src/ehmm/scripts ...
install -p comp_dcep.pl phfromutt.pl scale_feat.pl sym2nm.pl seqproc.pl do_ehmm check_lab.pl sl2nm.pl rem_ssil.pl rm_nan_utts ../bin
cp -p phseq.scm ../bin
making in src/interslice ...
making in src/interslice/src ...
g++ -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -Wall -O2 -c -o edec_v3.o edec_v3.cc
In file included from edec_v3.cc:42:0:
header.h: In function ‘int FileExist(char*)’:
header.h:56:15: error: no match for ‘operator==’ (operand types are ‘std::ifstream {aka std::basic_ifstream}’ and ‘int’)
if (fp_in == 0) {
~~~~~~^~~~
header.h:56:15: note: candidate: operator==(int, int)
header.h:56:15: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘int’
In file included from /usr/include/c++/7/iosfwd:40:0,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/postypes.h:216:5: note: candidate: template bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^~~~~~~~
/usr/include/c++/7/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::fpos<_StateT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_pair.h:448:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:448:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::pair<_T1, _T2>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: candidate: template bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator==(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator==(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
operator==(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: candidate: template bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
operator==(const move_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/allocator.h:146:5: note: candidate: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
operator==(const allocator<_T1>&, const allocator<_T2>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:146:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/allocator.h:152:5: note: candidate: template bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
operator==(const allocator<_Tp>&, const allocator<_Tp>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:152:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6009:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6009:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6017:5: note: candidate: template typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::__cxx11::basic_string<_CharT>&, const std::__cxx11::basic_string<_CharT>&)
operator==(const basic_string<_CharT>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6017:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6031:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const _CharT* __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6031:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: mismatched types ‘const _CharT*’ and ‘std::basic_ifstream’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6043:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6043:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_in == 0) {
^
In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/system_error:292:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_code&)
operator==(const error_code& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:292:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:297:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_condition&)
operator==(const error_code& __lhs, const error_condition& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:297:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:304:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_code&)
operator==(const error_condition& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:304:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:311:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_condition&)
operator==(const error_condition& __lhs,
^~~~~~~~
/usr/include/c++/7/system_error:311:3: note: no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream}’ to ‘const std::error_condition&’
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
from /usr/include/c++/7/bits/basic_ios.h:37,
from /usr/include/c++/7/ios:44,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: candidate: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
^~~~~~~~
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
In file included from edec_v3.cc:42:0:
header.h:56:18: note: ‘std::ifstream {aka std::basic_ifstream}’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
if (fp_in == 0) {
^
edec_v3.cc: In function ‘void PostProcess(int*, int*, int, int, std::ofstream&, char*, int*, int, int*)’:
edec_v3.cc:345:14: error: no match for ‘operator==’ (operand types are ‘std::ofstream {aka std::basic_ofstream}’ and ‘int’)
if (fp_out == 0) {
~~~~~~~^~~~
edec_v3.cc:345:14: note: candidate: operator==(int, int)
edec_v3.cc:345:14: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream}’ to ‘int’
In file included from /usr/include/c++/7/iosfwd:40:0,
from /usr/include/c++/7/ios:38,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/postypes.h:216:5: note: candidate: template bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^~~~~~~~
/usr/include/c++/7/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::fpos<_StateT>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_pair.h:448:5: note: candidate: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:448:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::pair<_T1, _T2>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: candidate: template bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator==(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:302:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator==(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:340:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: candidate: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)
operator==(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1121:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/stl_algobase.h:67:0,
from /usr/include/c++/7/bits/char_traits.h:39,
from /usr/include/c++/7/ios:40,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: candidate: template bool std::operator==(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
operator==(const move_iterator<_Iterator>& __x,
^~~~~~~~
/usr/include/c++/7/bits/stl_iterator.h:1127:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::move_iterator<_IteratorL>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/allocator.h:146:5: note: candidate: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
operator==(const allocator<_T1>&, const allocator<_T2>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:146:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:41:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/allocator.h:152:5: note: candidate: template bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
operator==(const allocator<_Tp>&, const allocator<_Tp>&)
^~~~~~~~
/usr/include/c++/7/bits/allocator.h:152:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::allocator<_CharT>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6009:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6009:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6017:5: note: candidate: template typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::__cxx11::basic_string<_CharT>&, const std::__cxx11::basic_string<_CharT>&)
operator==(const basic_string<_CharT>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6017:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6031:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const _CharT* __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6031:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: mismatched types ‘const _CharT*’ and ‘std::basic_ofstream’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/basic_string.h:6043:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/usr/include/c++/7/bits/basic_string.h:6043:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
if (fp_out == 0) {
^
In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/system_error:292:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_code&)
operator==(const error_code& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:292:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:297:3: note: candidate: bool std::operator==(const std::error_code&, const std::error_condition&)
operator==(const error_code& __lhs, const error_condition& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:297:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream}’ to ‘const std::error_code&’
/usr/include/c++/7/system_error:304:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_code&)
operator==(const error_condition& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
/usr/include/c++/7/system_error:304:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream}’ to ‘const std::error_condition&’
/usr/include/c++/7/system_error:311:3: note: candidate: bool std::operator==(const std::error_condition&, const std::error_condition&)
operator==(const error_condition& __lhs,
^~~~~~~~
/usr/include/c++/7/system_error:311:3: note: no known conversion for argument 1 from ‘std::ofstream {aka std::basic_ofstream}’ to ‘const std::error_condition&’
In file included from /usr/include/c++/7/bits/locale_facets.h:48:0,
from /usr/include/c++/7/bits/basic_ios.h:37,
from /usr/include/c++/7/ios:44,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from header.h:34,
from edec_v3.cc:42:
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: candidate: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
^~~~~~~~
/usr/include/c++/7/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
edec_v3.cc:345:17: note: ‘std::ofstream {aka std::basic_ofstream}’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
if (fp_out == 0) {
^
: recipe for target 'edec_v3.o' failed
make[3]: *** [edec_v3.o] Error 1
making in src/interslice/scripts ...
making in src/mllr ...
making in src/spamf0 ...
making in src/phrasyn ...
making in src/grapheme ...