On Mon, Sep 09, 2013 at 05:32:30PM +0200, Luca Barbato wrote:
> --- a/configure
> +++ b/configure
> @@ -2432,6 +2432,18 @@ pgi_flags(){
> done
> }
>
> +cparser_flags(){
> + for flag; do
> + case $flag in
> + -Wno-switch) echo -Wno-switch-enum ;;
> + -Wno-format-zero-length) ;;
> + -Wdisabled-optimization) ;;
> + -Wno-pointer-sign) echo -Wno-other ;;
> + *) echo $flag ;;
> + esac
> + done
> +}
> +
> suncc_flags(){
> for flag; do
> case $flag in
This was previously in alphabetical order.
> @@ -2660,6 +2672,14 @@ probe_cc(){
> if [ $pfx = hostcc ]; then
> append _cflags -Dsnprintf=_snprintf
> fi
> + elif $_cc --version 2>/dev/null | grep -q ^cparser; then
> + _type=cparser
> + _ident=$($_cc --version | head -n1)
> + _depflags='-MMD'
> + _cflags_speed='-O4'
> + _cflags_size='-O2'
> + _flags='-Wno-missing-variable-declarations -Wno-empty-statement'
What do these warning flags do?
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel