[PATCH 2/2] gdbserver: use the new gdb warning helpers

Pedro Alves palves@redhat.com
Tue Jan 12 10:33:00 GMT 2016


On 01/11/2016 07:16 PM, Mike Frysinger wrote:
> We need to use -Wno-missing-prototypes for now as much of the code
> sticks externs in local files and not in common headers.
> 


> +AM_GDB_WARNINGS
> +dnl The codebase isn't clean yet with this flag.
> +case " $WARN_CFLAGS " in
> +*" -Wmissing-prototypes "*)
> +  WARN_CFLAGS="$WARN_CFLAGS -Wno-missing-prototypes"
> +  ;;
> +esac
>  

That's fine with me.  Again, thanks for doing this.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list