g++ 4.2 is the last version supported by Apple, who is transitioning to use clang and LLVM.
It is possible to use later versions of g++ on OS X, but I don't know if they can be swapped into the current build system. The version of clang I have (which can be swapped in) doesn't support C++ well enough to use it and the versions that do come with a version of Xcode that doesn't support PowerPC processors. Can we possibly wait on redoing the OS X build system and/or supported OS versions/hardware until after 1.10 is released? Simon (Alarantalara) On Fri, Nov 25, 2011 at 10:51 AM, Gabriel Morin <[email protected]> wrote: > Can we already use c++0x/c++11 stuff in wesnoth? My guess is not yet, but I > noticed env.AppendUnique(CXXFLAGS = "-std=c++0x") in the SConstruct file, so > I'm wondering. > I'd like to use boost::make_shared for much more efficient initialization of > shared pointers, but to work properly it needs rvalue references and > variadic templates from c++11. > Those are already implemented in g++ 4.3 which is in debian stable i.e. > AFAIK the baseline for wesnoth compiler/librairies. But I think we'd need > every build system to use the std=c++0x flag, and I don't know what's the > situation on windows. > Cheers, > Gabriel aka gabba > _______________________________________________ > Wesnoth-dev mailing list > [email protected] > https://mail.gna.org/listinfo/wesnoth-dev > > _______________________________________________ Wesnoth-dev mailing list [email protected] https://mail.gna.org/listinfo/wesnoth-dev
