> Oct 24 18:21:51 <sberg_> dtardon, why is libetonyek-0.1.7.tar.xz containing > generated src/lib/KEY1Token.inc; is that by design or by mistake? > Oct 24 18:23:32 <dtardon> sberg_, that's for windows > Oct 24 18:24:15 <sberg_> dtardon, yuck; then you should at least have > generated it with a gperf that no longer emits "register" ;) > Oct 24 18:25:35 <dtardon> sberg_, bundled libetonyek is built as shared lib; > the windows build is done as a Library, because the gcc wrapper for msvc > cannot do shared libs. and it's easier to include the .inc files in the > tarball than to re-create them using a CustomTarget inside libreoffice... > Oct 24 18:25:58 <dtardon> sberg_, i'm using gperf on f27 > Oct 24 18:26:19 <dtardon> ... which is 3.1 > Oct 24 18:29:26 <sberg_> dtardon, then maybe they only fixed gperf past 3.1; I > have a local checkout (that still claims to be 3.1, though) that came with a > commit dropping that "register" usage Change-Id: I6a3d965cedbe05582d9e42f5595876c19a1b91a6
12 lines
274 B
Diff
12 lines
274 B
Diff
--- src/lib/KEY1Token.inc
|
|
+++ src/lib/KEY1Token.inc
|
|
@@ -524,7 +524,7 @@
|
|
|
|
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
|
|
{
|
|
- register int key = hash (str, len);
|
|
+ int key = hash (str, len);
|
|
|
|
if (key <= MAX_HASH_VALUE && key >= 0)
|
|
{
|