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

[perl #17935] [PATCH] Remove a warning

Thread Next
From:
Jürgen" "Bömmels
Date:
October 14, 2002 15:47
Subject:
[perl #17935] [PATCH] Remove a warning
Message ID:
rt-17935-39841.16.7120404772409@bugs6.perl.org
# New Ticket Created by  Jürgen Bömmels 
# Please include the string:  [perl #17935]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=17935 >


/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.
b.




-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/39841/32251/ba406d/warning.diff


Thread Next


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