Ticket #7814: 7814.patch

File 7814.patch, 605 bytes (added by alexey kutumov <alexey.kutumov@…>, 10 years ago)
  • boost/lexical_cast.hpp

     
    18701870#elif defined( __BORLANDC__ )
    18711871# pragma option push -w-8041
    18721872#endif
    1873                     utype const comp_val = static_cast<utype>(-(std::numeric_limits<Type>::min)());
     1873                    utype const comp_val = static_cast<utype>(1) << std::numeric_limits<Type>::digits;
    18741874                    succeed = succeed && out_tmp<=comp_val;
    18751875                    output = -out_tmp;
    18761876#if (defined _MSC_VER)