This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Restore building with -DPERL_GLOBAL_STRUCT, broken since 4dc941f7cb795735.
authorNicholas Clark <nick@ccl4.org>
Thu, 28 Apr 2011 13:36:15 +0000 (14:36 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 22 May 2011 20:02:40 +0000 (21:02 +0100)
commit0cd674b00397cbdf4d09c797f8bcf6bb74e478dc
tree10f7065ee05f872e8f9a5a8b8e6133d4f795ee24
parent15e1c773a868f2b1258c2b392de1bfe28dac773a
Restore building with -DPERL_GLOBAL_STRUCT, broken since 4dc941f7cb795735.

As PL_charclass is a constant, it doesn't need to be accessed via the global
struct. It should be exported via globvar.sym, not PERLVARA() in perlvars.h

[With a PERVARA() it all compiles perfectly, once C<dVAR>s are added where
now needed, but the build loops forever because the (real) charclass array is
never initialised]
embedvar.h
globvar.sym
perlapi.h
perlvars.h