From: Daniel P. <dp...@gm...> - 2011-12-25 21:26:23
|
Hi, Just tested this with g++-4.6 Replace Filter::Filter with ::Filter There are also two instances in recording.cc [ it also works if you replace it with "typename Filter::Filter" but I'm not sure that this is valid C++ so I would avoid it] Cc'ing John Fiscus so he can fix it in the original version. Dan On Sat, Dec 24, 2011 at 11:35 PM, LI Peng <lip...@gm...> wrote: > Hi, > > The following error rises when I build sclite: > > recording.h:122:29: error: ‘Filter::Filter’ cannot appear in a > constant-expression. > > The g++ version is 4.6.1, and the OS is Ubuntu 11.10. > > Best regards, > > LI Peng > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Kaldi-developers mailing list > Kal...@li... > https://lists.sourceforge.net/lists/listinfo/kaldi-developers > |