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

Emilio G. Cota cota at braap.org
Fri Oct 4 00:38:31 EST 2013


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



More information about the ccan mailing list