Commit 0a3e95ce authored by cehoyos's avatar cehoyos

Silence the following icc warnings:

warning #1292: attribute "force_align_arg_pointer" ignored
warning #1292: attribute "alloc_size" ignored
warning #1292: attribute "cold" ignored



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16258 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1ee346a3
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
#endif #endif
#ifndef av_cold #ifndef av_cold
#if AV_GCC_VERSION_AT_LEAST(4,3) #if (!defined(__ICC) || __ICC > 1100) && AV_GCC_VERSION_AT_LEAST(4,3)
# define av_cold __attribute__((cold)) # define av_cold __attribute__((cold))
#else #else
# define av_cold # define av_cold
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include "common.h" #include "common.h"
#ifndef attribute_align_arg #ifndef attribute_align_arg
#if AV_GCC_VERSION_AT_LEAST(4,2) #if (!defined(__ICC) || __ICC > 1100) && AV_GCC_VERSION_AT_LEAST(4,2)
# define attribute_align_arg __attribute__((force_align_arg_pointer)) # define attribute_align_arg __attribute__((force_align_arg_pointer))
#else #else
# define attribute_align_arg # define attribute_align_arg
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#define av_malloc_attrib #define av_malloc_attrib
#endif #endif
#if AV_GCC_VERSION_AT_LEAST(4,3) #if (!defined(__ICC) || __ICC > 1100) && AV_GCC_VERSION_AT_LEAST(4,3)
#define av_alloc_size(n) __attribute__((alloc_size(n))) #define av_alloc_size(n) __attribute__((alloc_size(n)))
#else #else
#define av_alloc_size(n) #define av_alloc_size(n)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment