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...
Andreas Jaeger <aj@suse.de> writes:
> With your patch I get on x86_64-linux-gnu the following error:
> In file included from /usr/src/aj/cvs/gcc/gcc/unwind-dw2-fde-glibc.c:58:
> /usr/src/aj/cvs/gcc/gcc/unwind-dw2-fde.c: In function `fde_insert':
> /usr/src/aj/cvs/gcc/gcc/unwind-dw2-fde.c:413: warning: assignment discards qualifiers from pointer target type
I do not understand why this is happening. I saw that on i386-linux
but it went away when I made the array field of struct fde_vector be
const.
zw