bug-gperf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gperf] GNU gperf v3.1 relased


From: Marcel Schaible
Subject: [bug-gperf] GNU gperf v3.1 relased
Date: Thu, 05 Jan 2017 16:59:43 +0100

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 program.

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 <address@hidden>. When reporting bugs, please include in the subject line the package name and version (output
of 'gperf --version') for which you found a problem.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]