[MacPorts] #43963: opencv@2.4.8 compile warning
#43963: opencv@2.4.8 compile warning --------------------------+-------------------------------- Reporter: manand1982@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: opencv --------------------------+-------------------------------- I'm using OSx mavericks and whenever I include opencv.hpp and compile the code, I get the warnings mentioned below. I use cmake to generate make files and build my project. I do not want to suppress warnings as it helps me in figuring out other issues in my code. Is there a way to remove the opencv warning? {{{ In file included from /opt/local/include/opencv2/opencv.hpp:56: /opt/local/include/opencv2/ml/ml.hpp:961:18: warning: 'CvForestTree::train' hides overloaded virtual functions [-Woverloaded-virtual] virtual bool train( CvDTreeTrainData* trainData, const CvMat... ^ /opt/local/include/opencv2/ml/ml.hpp:867:18: note: hidden overloaded virtual function 'CvDTree::train' declared here: different number of parameters (2 vs 3) virtual bool train( CvMLData* trainData, CvDTreeParams params... ^ /opt/local/include/opencv2/ml/ml.hpp:877:26: note: hidden overloaded virtual function 'CvDTree::train' declared here: different number of parameters (8 vs 3) CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag, ^ /opt/local/include/opencv2/ml/ml.hpp:1149:18: warning: 'CvBoostTree::train' hides overloaded virtual functions [-Woverloaded-virtual] virtual bool train( CvDTreeTrainData* trainData, ^ /opt/local/include/opencv2/ml/ml.hpp:867:18: note: hidden overloaded virtual function 'CvDTree::train' declared here: different number of parameters (2 vs 3) virtual bool train( CvMLData* trainData, CvDTreeParams params... ^ /opt/local/include/opencv2/ml/ml.hpp:877:26: note: hidden overloaded virtual function 'CvDTree::train' declared here: different number of parameters (8 vs 3) CV_WRAP virtual bool train( const cv::Mat& trainData, int tflag, ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/43963> MacPorts <http://www.macports.org/> Ports system for OS X
#43963: opencv@2.4.8 compile warning ---------------------------+-------------------------------- Reporter: manand1982@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: opencv | ---------------------------+-------------------------------- Comment (by ryandesign@…): You should probably report this bug to the developers of opencv so they can fix it. Then they can release a new version of opencv, and then we can update the MacPorts opencv port to that version. -- Ticket URL: <https://trac.macports.org/ticket/43963#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts