ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl5-porters
perl5-porters
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved