[OE-core] [PATCH] gperf: 3.0.4 -> 3.1
Burton, Ross
ross.burton at intel.com
Tue Apr 25 14:46:21 UTC 2017
On 24 April 2017 at 03:12, Huang Qiyu <huangqy.fnst at cn.fujitsu.com> wrote:
> Upgrade gperf from 3.0.4 to 3.1.
>
This breaks the libcap build:
| In file included from <command-line>:0:0:
| ./_caps_output.gperf:71:80: error: unknown type name 'size_t'
| gperf_case_strncmp (register const char *s1, register const char *s2,
register size_t n)
|
^~~~~~
| ./_caps_output.gperf:96:53: error: unknown type name 'size_t'
| __cap_hash_name (register const char *str, register size_t len)
| ^~~~~~
| ./_caps_output.gperf:200:55: error: unknown type name 'size_t'
| __cap_lookup_name (register const char *str, register size_t len)
| ^~~~~~
| ./_caps_output.gperf:200:1: error: conflicting types for
'__cap_lookup_name'
| __cap_lookup_name (register const char *str, register size_t len)
| ^~~~~~~~~~~~~~~~~
| ./_caps_output.gperf:33:29: note: previous declaration of
'__cap_lookup_name' was here
| const struct __cap_token_s *__cap_lookup_name(const char *, unsigned
int);
| ^~~~~~~~~~~~~~~~~
gperf 3.1 changed a type from int to size_t, so there's a missing header
include. Can you also fix libcap?
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170425/4d52111f/attachment-0002.html>
More information about the Openembedded-core
mailing list