Skip to content

Commit 4ccba90

Browse files
committed
remove unnecessary warning options
1 parent 00e8ddf commit 4ccba90

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/opencv/extconf.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ def cv_version_suffix(incdir)
7070
}
7171
have_header("stdarg.h")
7272

73+
$warnflags.slice!('-Wdeclaration-after-statement')
74+
$warnflags.slice!('-Wimplicit-function-declaration')
75+
7376
# Quick fix for 1.8.7
7477
$CFLAGS << " -I#{File.dirname(__FILE__)}/ext/opencv"
7578

0 commit comments

Comments
 (0)