Boost logo

Boost Users :

Subject: Re: [Boost-users] lexical_cast: fatal error
From: Tim Burgess (tim_at_[hidden])
Date: 2014-02-06 12:48:34


Many thanks - worked a treat.

Best wishes.

Tim

On 6 Feb 2014, at 16:37, Jason Roehm <jasonr_at_[hidden]> wrote:

>
> 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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net