HomeFreeBSD

- Add patch to fix build error on i386 architecture:

Description

  • Add patch to fix build error on i386 architecture:

Compiling c_src/double-conversion/strtod.cc
c_src/double-conversion/strtod.cc:41:18: error: unused variable 'kMaxExactDoubleIntegerDecimalDigits' [-Werror,-Wunused-const-variable]
static const int kMaxExactDoubleIntegerDecimalDigits = 15;

^

c_src/double-conversion/strtod.cc:58:21: error: variable 'exact_powers_of_ten' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
static const double exact_powers_of_ten[] = {

^

c_src/double-conversion/strtod.cc:84:18: error: unused variable 'kExactPowersOfTenSize' [-Werror,-Wunused-const-variable]
static const int kExactPowersOfTenSize = ARRAY_SIZE(exact_powers_of_ten);

^

Thanks to jrm@ for help with testing

Reported by: pkg-fallout

Details

Provenance
ashishAuthored on
Parents
rP531319: - update to -> 2.007004
Branches
Unknown
Tags
Unknown