Sorry Rico, my bad, I didn't turn on that switch. Now it compiled.
However, c++11 was not specified in Jamroot, how did your compiler have
that flag on?


Best regards,

*Jie Jiang*
Senior Language Technology Specialist

 Capita Translation and Interpreting
Riverside Court, Huddersfield Road, Delph, Oldham, OL3 5FZ | Tel (UK): +44
845 367 7000 | Tel (US): +1 (800) 579-5010
Tel Direct: +44 (0)844 854 8984 | mail.jie.ji...@gmail.com | Skype ID:
jie.jiang-capita-ti
www.capitatranslationinterpreting.com


2014/1/15 Rico Sennrich <rico.sennr...@gmx.ch>

>  On 15.01.2014 16:58, Jie Jiang wrote:
>
>   Hi Roco:
>
>  I think in the future it would be better to wrap up the c11 code with
> macros like:
>
>  #if __cplusplus >= 201103L
>            //c11 code here
> #
>            //old code here
>  #endif
>
>  or else it will fail others who are not using a compiler with c11
> support, like what happened to me this morning...
>
>
> sorry for the trouble. it was unclear how many people would be having
> problems with -std=c++11 (even your compiler [TDM-gcc 4.7.1] theoretically
> supports the subset of c++11 features that was used).
>
> As to using macros:
> nah, I was mainly interested in the usability enhancements coming with
> c++11. Having to write two versions of the same code would be even worse
> than the status quo.
>
> -
> Rico
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to