[ccan] [PATCH 6/6] cpuid: Minor improvements

Ahmed Samy f.fallen45 at gmail.com
Fri Oct 4 10:47:52 EST 2013


Oops, my bad.
This one should fix it.


On Thu, Oct 3, 2013 at 4:38 PM, Emilio G. Cota <cota at braap.org> wrote:

> On Thu, Oct 03, 2013 at 03:38:00 -0700, Ahmed Samy wrote:
> > Thanks for reporting that bug, didn't test on a 64-bit system, but just
> > tested now, however, I can't push my changes for now, here's a patch that
> > fixes this, please ACK.
>
> After applying it on the current head (158de63f), here's what I get:
>
> cc -g3 -ggdb -Wall -Wstrict-prototypes -Wold-style-definition
> -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings
> -Wundef -DCCAN_STR_DEBUG=1 -I. -MD   -c -o ccan/cpuid/cpuid.o
> ccan/cpuid/cpuid.c
> ccan/cpuid/cpuid.c:171:6: error: conflicting types for ‘cpuid_has_feature’
> ccan/cpuid/cpuid.h:255:6: note: previous declaration of
> ‘cpuid_has_feature’ was here
> ccan/cpuid/cpuid.c: In function ‘cpuid_get_cpu_type’:
> ccan/cpuid/cpuid.c:209:3: warning: unnamed struct/union that defines no
> instances [enabled by default]
> ccan/cpuid/cpuid.c:212:31: error: ‘bufu32’ undeclared (first use in this
> function)
> ccan/cpuid/cpuid.c:212:31: note: each undeclared identifier is reported
> only once for each function it appears in
> ccan/cpuid/cpuid.c:213:3: error: ‘buf’ undeclared (first use in this
> function)
> make: *** [ccan/cpuid/cpuid.o] Error 1
>
>                 Emilio
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20131004/ece5e1c1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-cpuid-fix-build.patch
Type: application/octet-stream
Size: 2996 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20131004/ece5e1c1/attachment.obj>


More information about the ccan mailing list