error in window.cpp (QT) (Bug #495)


Added by Alexander Shishkov over 14 years ago. Updated over 12 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:- % Done:

0%

Category:highgui-gui
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Very strange code in window.cpp file in highgui module:

_//-------- Qt ---------
CV_IMPL void cvAddText( const CvArr*, const char*, CvPoint org, CvFont font) {
CV_NO_GUI_ERROR("cvAddText");
return -1;
}

CV_IMPL void cvDisplayStatusBar(const char* name, const char* arg2, int arg3) {
CV_NO_GUI_ERROR("cvDisplayStatusBar");
return -1;
}

CV_IMPL void cvDisplayStatusBar(const char* name, const char* arg2, int arg3) {
CV_NO_GUI_ERROR("cvDisplayStatusBar");
return -1;
}

CV_IMPL void cvCreateOpenGLCallback(const char* name, cvOpenGLCallback callback, void* param) {
CV_NO_GUI_ERROR("createOpenGLCallback");
return -1;
}
...._

Functions with 'void' specificator can't return a value.


History

Updated by Yannick Verdie over 14 years ago

Indeed,

I apologize for that. That should be corrected now.

Thanks for your report,

Yannick

Updated by Victor Eruhimov over 14 years ago

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Updated by Andrey Kamaev almost 13 years ago

  • Category set to highgui-images

Updated by Andrey Kamaev over 12 years ago

  • Assignee deleted (Yannick Verdie)
  • Category changed from highgui-images to highgui-gui

Also available in: Atom PDF