Skip to content

Conflictig declarations of kconfig_id_lookup #2

@lhartmann

Description

@lhartmann

While builing on latest ubuntu, with gperf/bionic,now 3.1-1.

In file included from yconf.c:242:0:
hconf.gperf:141:1: error: conflicting types for 'kconf_id_lookup'
hconf.gperf:12:31: note: previous declaration of 'kconf_id_lookup' was here
 static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
                               ^~~~~~~~~~~~~~~
make[3]: *** [libkconfig_parser_la-yconf.lo] Error 1

Fix:

diff -r old/libs/parser/hconf.gperf new/libs/parser/hconf.gperf
12c12
< static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
---
> static const struct kconf_id *kconf_id_lookup(register const char *str, register size_t len);

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions