Mercurial > libavutil.hg
comparison mem.h @ 591:5fe37f8a1017 libavutil
Silence the following icc warnings:
warning #1292: attribute "force_align_arg_pointer" ignored
warning #1292: attribute "alloc_size" ignored
warning #1292: attribute "cold" ignored
author | cehoyos |
---|---|
date | Sun, 21 Dec 2008 22:51:33 +0000 |
parents | e9d89a89561a |
children | 880c6441f56a |
comparison
equal
deleted
inserted
replaced
590:e9d89a89561a | 591:5fe37f8a1017 |
---|---|
48 #define av_malloc_attrib __attribute__((__malloc__)) | 48 #define av_malloc_attrib __attribute__((__malloc__)) |
49 #else | 49 #else |
50 #define av_malloc_attrib | 50 #define av_malloc_attrib |
51 #endif | 51 #endif |
52 | 52 |
53 #if AV_GCC_VERSION_AT_LEAST(4,3) | 53 #if (!defined(__ICC) || __ICC > 1100) && AV_GCC_VERSION_AT_LEAST(4,3) |
54 #define av_alloc_size(n) __attribute__((alloc_size(n))) | 54 #define av_alloc_size(n) __attribute__((alloc_size(n))) |
55 #else | 55 #else |
56 #define av_alloc_size(n) | 56 #define av_alloc_size(n) |
57 #endif | 57 #endif |
58 | 58 |