This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]