Many thanks - worked a treat.
Best wishes.
Tim
On 6 Feb 2014, at 16:37, Jason Roehm
On 02/06/2014 11:33 AM, Tim Burgess wrote:
Hi,
Using 1.55.0 in my Xcode project with clang as the compiler I'm getting:
"/boost/type_traits/is_fundamental.hpp:26:20: fatal error: recursive template instantiation exceeded maximum depth of 128"::boost::is_arithmetic<T>::value
This error is triggered by me including lexical_cast.hpp. Has anybody else encountered this and, if so, found a solution, please? Try increasing the maximum template instantiation depth, as described here:
http://trac.macports.org/ticket/40634
In short, add the "-ftemplate-depth-1024" flag to your list of compiler flags.
Jason _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users