[cffi-devel] Grovel fails parsing file

Reinout Stevens resteven at infogroep.be
Sat Sep 12 17:30:05 UTC 2009


Hi,

I'm trying to use sysctl.h under FreeBSD (should also exists under OSX) 
, but grovel can't parse that file.
/usr/include/sys/sysctl.h:699: error: expected declaration specifiers or 
'...' before 
'size_t'                                                              
grovel.c: In function 
'print_double_for_lisp':                                                                                                               

grovel.c:64: warning: incompatible implicit declaration of built-in 
function 'memset'   

The offending line is:
int     sysctlnametomib(const char *, int *, size_t *);

Any clues how to fix this or is it a known feature?




More information about the cffi-devel mailing list