This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LIBIBERTY]: Add -Wwrite-strings -Wstrict-prototypes and fix warnings
- From: Ian Lance Taylor <ian at airs dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, dj at redhat dot com
- Date: 02 Apr 2005 14:41:24 -0500
- Subject: Re: [LIBIBERTY]: Add -Wwrite-strings -Wstrict-prototypes and fix warnings
- References: <200504021903.j32J3hMn025512@caip.rutgers.edu>
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
> 2005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
> -Wstrict-prototypes.
> * configure, config.in: Regenerate.
>
> * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
> warnings and reconcile interfaces with relevant standards.
This is OK. Thanks.
Ian