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