Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3027

ceil function name collision.

$
0
0
Code:

cv::Size output_size
          (gallerycols * 2 * its[0].cols(), ceil(4 / gallerycols) * 2 * its[0].rows());

Error        18        error C2668: 'ceil' : ambiguous call to overloaded function        E:\Jacky\Downloads\voronoi\voronoi\test_voronoi.cpp        207        1        voronoi

I try to #include <cmath>
and use std::ceil to no avail
There are still function names clashing.
Thanks
Jack

Viewing all articles
Browse latest Browse all 3027