aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-04-25 21:15:39 +0100
committerMans Rullgard <mans@mansr.com>2012-04-25 23:19:40 +0100
commit88de5b0a730ff613a8fff1d7dfd80735c6a4367a (patch)
tree1b9428381adbd0bbf5659a9cdb08f05e703af560
parentb6a6e90a7c79f9530637a1efb62e0af4049822c1 (diff)
downloadffmpeg-88de5b0a730ff613a8fff1d7dfd80735c6a4367a.tar.gz
build: icc: silence some warnings
This disables the warning "external declaration in primary source file" which is issued when a prototype for an extern function is found in a .c file rather than a header file. We have such prototypes for asm functions where a separate header file would be pointless. Signed-off-by: Mans Rullgard <mans@mansr.com>
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 97db196b5e..3632bdad1c 100755
--- a/configure
+++ b/configure
@@ -3129,10 +3129,11 @@ if enabled icc; then
# -wd: Disable following warnings
# 144, 167, 556: -Wno-pointer-sign
# 1292: attribute "foo" ignored
+ # 1419: external declaration in primary source file
# 10006: ignoring unknown option -fno-signed-zeros
# 10148: ignoring unknown option -Wno-parentheses
# 10156: ignoring option '-W'; no argument required
- check_cflags -wd144,167,556,1292,10006,10148,10156
+ check_cflags -wd144,167,556,1292,1419,10006,10148,10156
# 11030: Warning unknown option --as-needed
# 10156: ignoring option '-export'; no argument required
check_ldflags -wd10156,11030