gcc 4.0.1, os x 10.4.7, PPC, ccflags .= " -pipe -fno-common -Wno-long- double -Wno-long-long -std=c89 -pedantic ";

(which is still too many warnings, but leo noted this particular one could stand to be fixed, as time permits.)

On Aug 31, 2006, at 5:34 AM, Joshua Hoblitt wrote:

What compiler is generating warnings?

-J

--
On Tue, Aug 29, 2006 at 07:03:44PM -0700, Will Coleda wrote:
# New Ticket Created by  Will Coleda
# Please include the string:  [perl #40253]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40253 >


The attached patch casts all the printfs arguments corresponding to "%
p" to be (void *), to avoid compiler warnings.

However, the following tests fail after the change:

Failed Test          Stat Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------- ---
-------
t/dynoplibs/myops.t     1   256     7    1  14.29%  6
t/examples/library.t    1   256     4    1  25.00%  3
t/library/pcre.t        1   256     1    1 100.00%  1

I leave it to the determined reader to figure out why. =-)

--
Will "Coke" Coleda
[EMAIL PROTECTED]


Reply via email to