1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

31 Commits

Author SHA1 Message Date
Bruno Haible
1a67526a17 Release gperf-3.2.1.
* src/version.cc (version_string): Bump.
* tests/*.exp: Update.
* NEWS: Mention the changes.
2025-04-13 18:12:04 +02:00
Bruno Haible
3bab6ab7bf Avoid "-Wundef" warnings in C++ mode on the generated code.
Reported by Heiko Becker <mail@heiko-becker.de> in
<https://lists.gnu.org/archive/html/bug-gperf/2025-04/msg00001.html>
and by Thomas Klausner <wiz@netbsd.org>.

* src/output.cc (Output::output_hash_function): Emit a
'defined __STDC_VERSION__' before the test of __STDC_VERSION__.
* tests/c-parse.exp, tests/charsets.exp, tests/chill.exp,
tests/cplusplus.exp, tests/java.exp, tests/languages.exp,
tests/modula2.exp, tests/objc.exp: Update.
2025-04-09 12:29:19 +02:00
Bruno Haible
2dd5061f4d Avoid "-Wzero-as-null-pointer-constant" warnings on the generated code.
Reported in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-11/msg00123.html>.

* src/output.cc (Output::output_lookup_function_body): To denote a null
pointer, emit a cast expression instead of plain "0".
* tests/c-parse.exp, tests/charsets.exp, tests/chill.exp,
tests/cplusplus.exp, tests/gpc.exp, tests/incomplete.exp,
tests/java.exp, tests/languages.exp, tests/modula2.exp, tests/objc.exp,
tests/permut2.exp, tests/permut3.exp, tests/permutc2.exp,
tests/test-4.exp: Update.
2024-11-16 08:23:49 +01:00
Bruno Haible
ce5106eb19 Avoid "clang -Wimplicit-fallthrough" warnings also in C mode.
* src/output.cc (Output::output_hash_function): Enhance the fallthrough
marker, to include clang >= 10 in C mode.
* tests/*.exp: Update.
2023-09-07 12:55:29 +02:00
Bruno Haible
1862c6e57a Add support for reproducible builds.
Suggested by Richard Purdie <richard.purdie@linuxfoundation.org> in
<https://lists.gnu.org/archive/html/bug-gperf/2022-07/msg00000.html>.

* autogen.sh: Import also lib/filename.h.
* Makefile.in (IMPORTED_FILES): Add lib/filename.h.
* src/options.cc: Include filename.h.
(Options::print_options): Print only the base name of the program name.
* tests/*.exp: Update.
2022-07-05 07:51:46 +02:00
Bruno Haible
6d53a2dbe0 Release gperf-3.2.
* src/version.cc (version_string): Bump to 3.2.
* src/options.cc (Options::parse_options): Bump copyright year.
* tests/*.exp: Update.
* doc/gperf.texi: Bump date.
2022-01-05 12:59:54 +01:00
Bruno Haible
50840436d5 Avoid "implicit fallthrough" warnings also from clang. 2018-09-09 01:14:20 +02:00
Bruno Haible
0d37a8763d Avoid "implicit fallthrough" warnings in the generated code. 2018-07-26 02:00:39 +02:00
Bruno Haible
a705809f3d Drop the inline specifiers from the generated lookup function. 2016-11-26 18:42:05 +01:00
Bruno Haible
0414be8fff Change mailing list address to <bug-gperf@gnu.org>. 2016-11-26 18:08:57 +01:00
Bruno Haible
d519d1a821 Change the 'len' parameter type to 'size_t'. 2016-11-26 17:54:33 +01:00
Bruno Haible
bbe4d732f3 Avoid 'warning: implicit conversion changes signedness' in output code. 2016-11-26 02:25:44 +01:00
Bruno Haible
b3356507ce Avoid 'warning: implicit conversion changes signedness' in output code. 2016-11-26 01:05:14 +01:00
Bruno Haible
6eda9843bc Regenerated and updated. 2009-12-20 11:18:22 +01:00
Brendan Kehoe
fb59b79a62 * gperf-3.0.4 released.
* src/version.cc: Bump to 3.0.4.
	* tests/*.exp: Bump to 3.0.4 in header.
	* doc/gperf.1: Regenerate with gperf 3.0.4.
2009-02-01 12:08:19 +00:00
Bruno Haible
fc599936bd Change generated code to avoid a warning by GCC 4.2. 2007-09-09 02:05:32 +00:00
Brendan Kehoe
8b59fc37ec bump expected version in comment to 3.0.3 2007-04-06 15:38:50 +00:00
Bruno Haible
0e4abdfd81 Change generated code after the meaning of __inline is changed in GCC 4.3. 2007-03-31 15:16:05 +00:00
Bruno Haible
c46ce464cb Bump version number to 3.0.2. 2005-07-30 16:42:13 +00:00
Bruno Haible
7f0e124409 Version 3.0.1. 2003-06-12 16:59:53 +00:00
Bruno Haible
9b6bce9cda Typo. 2003-05-07 13:30:53 +00:00
Bruno Haible
fd6df8913a Bump version number to 3.0. 2003-05-07 11:17:14 +00:00
Bruno Haible
c170151d67 Add /*FALLTHROUGH*/ comments to output. 2003-05-01 10:10:08 +00:00
Bruno Haible
16e10a330c Provoke a compilation error if the execution character set doesn't match the
expectations.
2003-04-28 10:08:35 +00:00
Bruno Haible
fa9b5b99bf Omit option -p from tests. 2003-04-15 09:40:23 +00:00
Bruno Haible
ec3d1127fa Change the positions to be 0-based, instead of 1-based. 2003-04-04 10:04:24 +00:00
Bruno Haible
6d268d095b Completely new asso_values search algorithm. 2003-03-18 10:22:37 +00:00
Bruno Haible
83440a2aed Rewrite the input routines. 2003-01-22 12:03:19 +00:00
Bruno Haible
745d7fc2fb Regenerated. 2000-08-20 18:44:23 +00:00
Bruno Haible
90c8a93ec7 Regenerated. 2000-08-19 13:26:58 +00:00
Bruno Haible
54117bf0c1 test-1.exp renamed to c-parse.exp and regenerated. 2000-08-19 12:55:45 +00:00