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

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

Thread Previous
From:
Nicholas Clark
Date:
October 16, 2002 13:24
Subject:
Re: [perl #17935] [PATCH] Remove a warning
Message ID:
20021016202209.GF280@Bagpuss.unfortu.net
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:	http://nms-cgi.sourceforge.net/

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About