title: Warning with boost::split when compiling
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9653155/why-does-calling-boostsplit-give-so-many-warnings">Why does calling boost:split() give so many warnings?</a>  </p>
  </blockquote>
  
  
  
  <p>So, this is my code:</p>
  
  <pre><code>Account ParseString(string data){
      vector &lt;string&gt; fields;
      boost::split( fields, data, boost::is_any_of( "a,;" ));
      int limit = fields.size();
      for(int i = 0; i &lt; limit; i++)
          cout &lt;&lt; fields[i] &lt;&lt; endl;
  }
  </code></pre>
  
  <p>and this is what I get when trying to compile:</p>
  
  <pre><code>d:\program files (x86)\visualstudio\vc\include\xutility(2227): warning C4996: 'std::_Copy_impl': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
  </code></pre>
  
  <p>My question is, what have I done wrong? What can I do to prevent those error messages?</p>