develooper Front page | perl.perl6.internals | Postings from October 2002

Re: [perl #17935] [PATCH] Remove a warning

Thread Previous
Nicholas Clark
October 16, 2002 13:24
Re: [perl #17935] [PATCH] Remove a warning
Message ID:
On Mon, Oct 14, 2002 at 10:47:48PM +0000, Jürgen Bömmels wrote:
> /usr/local/bin/gcc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Winline -W -Wno-unused -Wsign-compare -Wformat-security -Wpacked -Wdisabled-optimization -Werror -Wno-padded -Wno-format-nonliteral -Wno-cast-qual -I../include -o default.o -c default.c
> cc1: warnings being treated as errors
> default.pmc: In function `caller':
> default.pmc:21: warning: return discards qualifiers from pointer target type
> make[1]: *** [default.o] Error 1
> attached patch fixes this problem.

Thanks, applied

Nicholas Clark
Even better than the real thing:

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About