This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Question on -Werror usage in Makefiles...
- From: Richard Henderson <rth at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Zack Weinberg <zack at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, gcc at gcc dot gnu dot org
- Date: Wed, 29 Oct 2003 13:23:08 -0800
- Subject: Re: Question on -Werror usage in Makefiles...
- References: <u84qxwqhnk.fsf@gromit.moeb> <200310261407.h9QE7CHx013098@caip.rutgers.edu> <u8u15wyrhm.fsf@gromit.moeb> <200310261617.h9QGHLUL009883@caip.rutgers.edu> <u8r810x8e2.fsf@gromit.moeb> <871xszj38t.fsf@egil.codesourcery.com> <u8n0bnyj1r.fsf@gromit.moeb> <u8u15rzslg.fsf@gromit.moeb>
On Wed, Oct 29, 2003 at 09:39:23PM +0100, Andreas Jaeger wrote:
> union {
> - struct dwarf_fde *single;
> + const struct dwarf_fde *single;
> struct dwarf_fde **array;
So why didn't you add const to the array too?
r~