Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This means that on Windows all code is compiled as if -fPIC (Position Independent Code), whether you specify it or not. Therefore the warning can be ignored.

It seems that this warning has been amended in OpenCV 4.1.1:

https://github.com/opencv/opencv/commit/50365b7741f244d4478fed3bae4c36a0ab3b8d6c