Warnung mit boost :: split beim Kompilieren [duplizieren]
Mögliche Duplikate:
Warum gibt der Aufruf von boost: split () so viele Warnungen aus?
Das ist also mein Code:
Account ParseString(string data){
vector <string> fields;
boost::split( fields, data, boost::is_any_of( "a,;" ));
int limit = fields.size();
for(int i = 0; i < limit; i++)
cout << fields[i] << endl;
}
und das bekomme ich, wenn ich versuche zu kompilieren:
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'
Meine Frage ist, was habe ich falsch gemacht? Was kann ich tun, um diese Fehlermeldungen zu vermeiden?