fixed ~200 warnings for windows

minor build system changes (now cuda code in opencv_core is compiled using CUDA_ARCH* cmake variables)
This commit is contained in:
Anatoly Baksheev
2012-02-14 10:22:34 +00:00
parent 8f4d63913a
commit 84db4eb6fa
29 changed files with 126 additions and 66 deletions

View File

@@ -291,7 +291,7 @@ template<typename _Tp>
buf = "";
if (del_space(it->second[1]) != "") buf += del_space(it->second[1]);
while (true)
for(;;)
{
bool tr = ((int)buf.length() > col_d-2) ? true: false;
int pos;
@@ -299,7 +299,7 @@ template<typename _Tp>
if (tr)
{
pos = buf.find_first_of(' ');
while (true)
for(;;)
{
if ((int)buf.find_first_of(' ', pos + 1 ) < col_d-2 &&
(int)buf.find_first_of(' ', pos + 1 ) != (int)std::string::npos)