Hi,

On Fri, Jan 9, 2015 at 3:15 AM, Zhao, Halley <halley.z...@intel.com> wrote:

> @@ -1031,7 +1032,8 @@ check_func_headers(){
>              echo "long check_$func(void) { return (long) $func; }"
>          done
>          echo "int main(void) { return 0; }"
> -    } | check_ld "cc" "$@" && enable $funcs && enable_safe $headers
> +    ## both C++/C header check goes here, use 'cxx'
> +    } | check_ld "cxx" "$@" && enable $funcs && enable_safe $headers
>  }
>

This seems wrong, as in, this will likely use c++ even when it's not
necessary. Why not create a new macro check_func_headers_cxx?

Ronald
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to