In perl.git, the branch arc/makedef-auto-mathoms has been created
<http://perl5.git.perl.org/perl.git/commitdiff/20fd075681ed0d18ebf045de8ac111b00a0633c5?hp=0000000000000000000000000000000000000000>
at 20fd075681ed0d18ebf045de8ac111b00a0633c5 (commit)
- Log -----------------------------------------------------------------
commit 20fd075681ed0d18ebf045de8ac111b00a0633c5
Author: Aaron Crane <[email protected]>
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