develooper Front page | perl.perl5.porters | Postings from March 2018

Re: HP-UX 11.11

Thread Previous
From:
Karl Williamson
Date:
March 8, 2018 20:17
Subject:
Re: HP-UX 11.11
Message ID:
c9d52583-88dd-5e96-cf93-b7deeb612f56@khwilliamson.com
On 03/08/2018 08:11 AM, H.Merijn Brand wrote:
> I saw these:
> 
> cc: "locale.c", line 2430: warning 562: Redeclaration of "S_my_nl_langinfo" with a different storage class specifier: "S_my_nl_langinfo" will have internal linkage.
> 
> $ ack -w S_my_nl_langinfo
> locale.c
> 2430:S_my_nl_langinfo(const nl_item item, bool toggle)
> 2432:S_my_nl_langinfo(const int item, bool toggle)
> 
> embed.h
> 1443:#define my_nl_langinfo             S_my_nl_langinfo
> 1539:#define my_nl_langinfo             S_my_nl_langinfo
> 
> proto.h
> 3848:STATIC const char* S_my_nl_langinfo(const int item, bool toggle);
> 4294:STATIC const char* S_my_nl_langinfo(const nl_item item, bool toggle);


This was from a missing STATIC.  Fixed by
59a15af0ac34400c89a35320efcf49e8dfe8267c

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