diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-08 02:36:27 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-08 02:36:27 +0000 |
commit | de63bfecd211037e2bb4553653ddcec4a43d9d8f (patch) | |
tree | 3befdb36ba3242ab5bdbcbc86a7715440ad40a43 /configure | |
parent | b903fe9137c1ffefc91c1a3713a9bc1444709330 (diff) | |
download | ffmpeg-de63bfecd211037e2bb4553653ddcec4a43d9d8f.tar.gz |
Error on missing function prototypes with gcc
This makes it an error to not have a prototype in scope for
a function with external linkage. The flag is only enabled
for gcc due to -Werror=type not working with all compilers.
Originally committed as revision 22313 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2752,6 +2752,7 @@ elif enabled ccc; then elif enabled gcc; then check_cflags -fno-tree-vectorize check_cflags -Werror=implicit + check_cflags -Werror=missing-prototypes elif enabled clang; then check_cflags -Qunused-arguments elif enabled armcc; then |