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
91ed1621cc
Avoid "gcc -Wunused-parameter" warnings on the generated hash function.
...
Reported by Vinícius dos Santos Oliveira <vini.ipsmaker@gmail.com > in
<https://savannah.gnu.org/bugs/index.php?64393 >.
* src/output.cc (Output::output_hash_function): If str is not used, emit
a cast from str to void. If len is not used, emit a cast from len to
void.
* tests/permut2.exp: Update.
* tests/permut3.exp: Likewise.
* tests/permutc2.exp: Likewise.
2023-07-08 12:30:47 +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
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
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
57745086ac
Don't include the length in the hash function if all keywords have the same
...
length.
2009-01-19 09:50:07 +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
77c50abf9d
* tests/*.exp: Bump to 3.0.3 in header.
2007-04-19 10:16:41 +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
fd6df8913a
Bump version number to 3.0.
2003-05-07 11:17:14 +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
85ac0f155c
New tests.
2003-03-28 09:22:06 +00:00