Ticket #1471: BRL-warnings.diff

File BRL-warnings.diff, 903 bytes (added by Francois Barel, 15 years ago)
  • boost/regex/v4/regex_workaround.hpp

     
    149149   {
    150150      return stdext::unchecked_equal(first, last, with);
    151151   }
     152#else
     153   using std::copy;
     154   using std::equal;
     155#endif
    152156
     157#if BOOST_WORKAROUND(BOOST_MSVC,>=1400) && defined(__STDC_WANT_SECURE_LIB__) && __STDC_WANT_SECURE_LIB__
    153158   // use safe versions of strcpy etc:
    154159   using ::strcpy_s;
    155160   using ::strcat_s;
    156161#else
    157    using std::copy;
    158    using std::equal;
    159 
    160162   inline std::size_t strcpy_s(
    161163      char *strDestination,
    162164      std::size_t sizeInBytes,
     
    179181      std::strcat(strDestination, strSource);
    180182      return 0;
    181183   }
    182 
    183184#endif
    184185
    185186   inline void overflow_error_if_not_zero(std::size_t i)