|
From: Mailing l. u. f. U. C. a. U. <kal...@li...> - 2013-07-25 13:55:23
|
Hi Vassil,
Just found that
changing push-lattice.cc(line131) from
KALDI_COMPILE_TIME_ASSERT(static_cast<StateId>(-1) <
static_cast<StateId>(0) &&
"This code only works if StateId is signed;
otherwise, fix.");
to
KALDI_COMPILE_TIME_ASSERT(static_cast<StateId>(-1) <
static_cast<StateId>(0));
can solve problem.
KALDI_COMPILE_TIME_ASSERT() is acceptable to icpc if const char* (the error
msg) is not involved in the its argument.
It seems KALDI_COMPILE_TIME_ASSERT() has been used many times in kaldi, and
only this one has a error msg like this {&& "blabla"}
kangshiyin
|