Follow-up Comment #9, bug #24942 (project freeciv):
> For the C++11 problem, would something as simple as attached patch work?
Such a patch would work. On the other hand, one would need Debian Wheezy or
Ubuntu 12.04 to compile Freeciv without C++11 support. This would make it more
difficult to check the Freeciv codebase being C++11-free.
I've been thinking of something along these lines:
++
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <QtCoreVersion>
#if QT_VERSION >= #0x050700
#error ""
#endif]], [[]], [ (enable C++11) ])
--
It's much simpler, but relies on <QtCoreVersion> not depending on C++11 (which
is the case but not guaranteed).
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?24942>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev