diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-08-02 22:03:09 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-03 10:08:04 +0200 |
commit | 038c4f65ee6c72f9d1ee4d4e46c74073992fabc8 (patch) | |
tree | 82614dc4efbb6857c82a27565f8e37051dfdc5da /configure | |
parent | 85fc1a18ca7b875cf138d3a862779f8334fb2a57 (diff) | |
download | ffmpeg-038c4f65ee6c72f9d1ee4d4e46c74073992fabc8.tar.gz |
configure: Check for GCC diagnostic pragma support inside of functions
The actual usage of the pragma is within functions and older versions
of gcc only support the pragma outside of functions.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3779,8 +3779,7 @@ EOF done check_cc <<EOF && enable pragma_deprecated -_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") -_Pragma("GCC diagnostic warning \"-Wdeprecated-declarations\"") +void foo(void) { _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") } EOF check_cc <<EOF && enable attribute_packed |