Re: SuSE's gcc-2.95.2 and //depot/perl
by Robin Barker other posts by this author
Sep 29 2000 11:05AM messages near this date
Re: main:: vs main'
|
[ID 20000928.004] mysterious extra refcount in debugger
Nick wrote
> Building Tk with whatever is in the depot tonight is failing will
> gcc -Wall -Werror because Perl_croak() has had printf fromat checking
> attribute turned on and XS_VERSION_BOOTCHECK has %_ which isn't a legal
> printf format character.
That's my fault.
I thought leaving the format checking attributes in would be OK.
I thought this would just lead to a few spurious error messages
(with -Wformat), I didn't realise the people would try to compile
with -Wall -Werror.
A patch is easy: in embed.pl (line 141) replace HASATTRIBUTE by CHECK_FORMAT.
I will post a proper patch later today.
Robin
--
Robin Barker | Email: Robin.Barker@[...].uk
CMSC, Building 10, | Phone: +44 (0) 20 8943 7090
National Physical Laboratory, | Fax: +44 (0) 20 8977 7091
Teddington, Middlesex, UK. TW11 OLW | WWW: http://www.npl.co.uk
|