--- pouetchess_src_0.2.0/src/sxmlgui/MathUtils.h.old 2006-05-26 21:22:57.000000000 -0400 +++ pouetchess_src_0.2.0/src/sxmlgui/MathUtils.h 2017-03-21 18:01:15.569181229 -0400 @@ -27,10 +27,13 @@ return (x < min) ? min : (x > max) ? max : x; } +// Not used anywhere and conflicts with C++11 std::round(float) +#if __cplusplus < 201103L inline int round(float f) { return int(f + 0.5f); } +#endif inline float getNextRandom(){ return (float)rand()/(RAND_MAX + 1);