Project

General

Profile

Feature #13883

Change from gperf 3.0.4 to gperf 3.1

Added by duerst (Martin Dürst) 15 days ago. Updated 13 days ago.

Status:
Open
Priority:
Normal
Target version:
-
[ruby-core:82723]

Description

There are several places in Ruby where gperf 3.0.4 is assumed.

The newest version of gperf is 3.1. In the long term, we should update Ruby so that it can be compiled with gperf 3.1.

History

#1 [ruby-core:82738] Updated by nobu (Nobuyoshi Nakada) 13 days ago

Seems the code generated by gperf 3.1 without -n option has a problem with Apple clang.

defs/keywords:57:32: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Werror,-Wshorten-64-to-32]
  register unsigned int hval = len;
                        ~~~~   ^~~

Also available in: Atom PDF