Patch: fix warning

Anthony Green green@redhat.com
Fri Feb 11 17:28:00 GMT 2011


Torsten Rupp <torsten.rupp@aicas.com> writes:

> Dear developers,
>
> the file debug.c may produce a warning of missing prototypes when not 
> compiled with FFI_DEBUG defined. The attached patch wrap the 
> functions in debug.c with a #ifdef FFI_DEBUG to fix this warning.

I just modified Makefile.am to not build debug.c unless you've
configured with --enable-debug.  Technically this alters the ABI, so
I'll have to tweak the libtool version.

AG



More information about the Libffi-discuss mailing list