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
|
8d68fff1c7
|
Avoid "gcc -Wmissing-field-initializers" warnings on the generated code.
* src/options.h (Options::has_initializer_suffix): New declaration.
* src/options.cc (Options::has_initializer_suffix): New function.
* src/output.cc (Output::output_keyword_table): If option -t is
specified and option -F is not specified, emit '#pragma GCC diagnostic'
lines, to silence -Wmissing-field-initializers warnings from gcc or
clang.
* tests/charsets.exp: Update.
* tests/gpc.exp: Likewise.
* tests/incomplete.exp: Likewise.
* tests/languages.exp: Likewise.
* tests/objc.exp: Likewise.
* tests/test-4.exp: Likewise.
|
2023-09-05 21:20:51 +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
|
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
|
fa9b5b99bf
|
Omit option -p from tests.
|
2003-04-15 09:40:23 +00:00 |
|
Bruno Haible
|
6d268d095b
|
Completely new asso_values search algorithm.
|
2003-03-18 10:22:37 +00:00 |
|
Bruno Haible
|
810fef43ae
|
When the option -k is not given, the default key positions are now computed
depending on the set of keywords.
|
2003-02-11 11:09:27 +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
|
4bf799ef74
|
Rename test-5.exp to gpc.exp.
|
2000-08-19 12:47:28 +00:00 |
|