We are glad to announce an update release of GNU gperf v3.1,
which generates now ANSI-C by default and fixed several other issues
(see below).

GNU gperf is a perfect hash function generator. For a given list of
strings, it produces a hash function and hash table, in form of C or C++
code, for looking up a value depending on the input string. The hash
function is perfect, which means that the hash table has no collisions,
and the hash table lookup needs a single string comparison only.

Output from the gperf program is used to recognize reserved words in the
GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU indent

The full set of changes new to GNU gperf version 3.1 are:

* The generated C code is now in ANSI-C by default. If you want to
support pre-ANSI-C compilers, you need to provide the option
--language=C on the command line or %language=C in the source file.

* The 'len' parameter of the hash function and of the lookup function is
now of type 'size_t' instead of 'unsigned int'. This makes it safe to
call these functions with strings of length > 4 GB, on 64-bit machines.

* Added option --constants-prefix.

* Added declaration %define constants-prefix.

Many thanks to Bruno Haible for his continued support, good hacking on
gperf and giving a helping hand to get the first release of the new
maintainers out of the door.

For general documentation on the coding and usage standards this
distribution follows, see the GNU standards document available from
http://www.gnu.org/prep/standards/ in a variety of formats. Of
particular interest are the sections 'Makefile Conventions',
'Configuration', and 'User Interfaces'.

Mail suggestions and bug reports to <bug-gnu-gperf@xxxxxxx>. When
reporting bugs, please include in the subject line the package name and
version (output of 'gperf --version') for which you found a problem.

If you have a working or partly working program that you'd like
to offer to the GNU project as a GNU package,
see https://www.gnu.org/help/evaluation.html.

Reply via email to