From 521aa9ac9d163b537d772e3e0de4add0df35ca80 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Fri, 17 Mar 2017 13:51:46 +0000 Subject: [PATCH] PERL_GLOBAL_STRUCT_PRIVATE: dump.c:op_class_names t/porting/libperl.t under -DPERL_GLOBAL_STRUCT_PRIVATE doesn't like non-const static data structures --- dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dump.c b/dump.c index c5e3a79..7cdebfe 100644 --- a/dump.c +++ b/dump.c @@ -930,7 +930,7 @@ const struct flag_to_name op_flags_names[] = { /* indexed by enum OPclass */ -const char * op_class_names[] = { +const char * const op_class_names[] = { "NULL", "OP", "UNOP", -- 1.8.3.1