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...
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 | [email protected] | Skype ID:
jie.jiang-capita-ti
www.capitatranslationinterpreting.com
2014/1/15 Rico Sennrich <[email protected]>
> Rico Sennrich <rico.sennrich@...> writes:
>
> >
> > I just pushed a commit that uses a C++11 feature (initalizer list). It
> > should work with compilers that are no older than 5 years or so (gcc >=
> 4.4).
> >
>
> I reverted the commits again; there were issues with gcc < 4.6, and
> apparently some different problems with the recent versions of gcc/boost. I
> think it's worth it to keep C++11 compatibility in mind, but at the time
> being, it seems to be too much trouble.
>
> -
> Rico
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support