This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Patch: fix warning
- From: Anthony Green <green at redhat dot com>
- To: Torsten Rupp <torsten dot rupp at aicas dot com>
- Cc: libffi-discuss at sourceware dot org
- Date: Fri, 11 Feb 2011 12:28:53 -0500
- Subject: Re: Patch: fix warning
- References: <201101181043.32246.torsten.rupp@aicas.com>
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