In perl.git, the branch arc/makedef-auto-mathoms has been created <http://perl5.git.perl.org/perl.git/commitdiff/6809f5eb5996fc33a29e5dcbfa2a1d3492587b77?hp=0000000000000000000000000000000000000000>
at 6809f5eb5996fc33a29e5dcbfa2a1d3492587b77 (commit) - Log ----------------------------------------------------------------- commit 6809f5eb5996fc33a29e5dcbfa2a1d3492587b77 Author: Aaron Crane <a...@cpan.org> Date: Sun Dec 7 15:41:33 2014 +0000 makedef.pl: don't hard-code list of mathoms It's easy enough to read the list out of mathoms.c directly, and this should prevent almost all bugs of the sort that were fixed by 083750a56b7927292a4bf7b1bf64aa26dd2a6858. (Only names that don't begin with "Perl_" will cause a problem.) The list of names detected automatically may actually differ slightly from the hard-coded list; for example, the definition of Perl_huge() is inside "#if defined(HUGE_VAL) || (defined(USE_LONG_DOUBLE) && defined(HUGE_VALL))", but the new code in makedef.pl ignores preprocessor conditions. However, the list is used as names to *skip*, rather than to include, so it's not a problem if makedef.pl is willing to skip names that it will never be asked to include. ----------------------------------------------------------------------- -- Perl5 Master Repository