Fix Windows build issues

* No /arch:SSE3 in MSVC
* Warnings fixed or suppressed
This commit is contained in:
Andrey Kamaev
2012-08-22 03:59:05 +04:00
parent 793e8b546d
commit f2a02feffa
12 changed files with 49 additions and 43 deletions

View File

@@ -1341,7 +1341,7 @@ TEST(MOG)
cv::gpu::MOG_GPU d_mog;
cv::gpu::GpuMat d_foreground;
d_mog(d_frame, d_foreground, 0.01);
d_mog(d_frame, d_foreground, 0.01f);
while (!TestSystem::instance().stop())
{
@@ -1350,7 +1350,7 @@ TEST(MOG)
TestSystem::instance().gpuOn();
d_mog(d_frame, d_foreground, 0.01);
d_mog(d_frame, d_foreground, 0.01f);
TestSystem::instance().gpuOff();
}