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

[perl #132929] [PATCH] rmv/de-dup static const char array "strings"

Tony Cook via RT
March 7, 2018 03:27
[perl #132929] [PATCH] rmv/de-dup static const char array "strings"
Message ID:
On Thu, 01 Mar 2018 13:44:12 -0800, bulk88 wrote:
> See attached patch.

This patch isn't perfect - it depends on the compiler (and possibly linker) to de-dup the string literals, but I think it's an improvement over the previous state.

The simplest alternative, to make the strings non-API globals, means we need to work to suppress spurious format string warnings from various compilers.

Thanks, applied as 814eedc877a5aa1dbba0047735733e9491aa94a4.


via perlbug:  queue: perl5 status: new Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About