Quiet library warnings (Feature #719)


Added by Mitar M over 14 years ago. Updated almost 14 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:core
Target version:-
Difficulty: Pull request:

Description

When compiling against OpenCV (C API) and with -Wall switch a lot of warnings is issued from header files if OpenCV is not installed system-wide. By adding a simple system_header GCC pragma those warnings are suppressed. I am adding a patch which adds it.


002-header.patch (1.2 kB) Mitar M, 2010-11-30 03:08 am


Associated revisions

Revision 23768b18
Added by Vadim Pisarevsky almost 14 years ago

replaced #include <some_opencv_hdr> with #include "some_opencv_hdr" (ticket #719)

Revision f4b98e96
Added by Andrey Kamaev almost 12 years ago

Merge pull request #719 from jet47:gpu-fix-build

History

Updated by Vadim Pisarevsky almost 14 years ago

marking opencv headers as system ones is a wrong thing, in my opinion. Instead, within OpenCV source code all the <> includes of OpenCV headers have been replaced with "". The applications that use can also follow this practice.

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

Also available in: Atom PDF