[FFmpeg-devel] Change prototype in configure
    Marc Mason 
    mpeg.blue
       
    Wed Dec 17 14:10:25 CET 2008
    
    
  
Hello,
On my platform, the last test run by configure generates a warning.
BEGIN ffmpeg-conf-323-2844-15508.c
     1   int foo(void){ __asm__ volatile(".align 3"); }
END ffmpeg-conf-323-2844-15508.c
[...]
In function 'foo': warning: control reaches end of non-void function
$ svn diff
Index: configure
===================================================================
--- configure   (revision 16187)
+++ configure   (working copy)
@@ -512,7 +512,7 @@
      asm="$2"
      shift 2
      check_cc "$@" <<EOF && enable $name || disable $name
-int foo(void){ __asm__ volatile($asm); }
+void foo(void){ __asm__ volatile($asm); }
  EOF
  }
-- 
Regards.
    
    
More information about the ffmpeg-devel
mailing list