6 Feb
2014
6 Feb
'14
4:37 p.m.
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