Updated by Andrey Kamaev about 13 years ago

When I compile code with OpenCv [[OpenCv]] and gcc -Wall -Wextra, I get the following warning :
<pre>
.../include/opencv2/contrib/retina.hpp:332:117: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
</pre>


It comes from :
<pre>
const bool _convertCvMat2ValarrayBuffer(const cv::Mat inputMatToConvert, std::valarray<float> &outputValarrayMatrix);
</pre>

The return type should be "bool" and not "const bool"

It is on svn truk version 7212.

Boris.

Back