This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Include ffi.h in link.cc.



On Mar 6, 2006, at 4:50 PM, David Daney wrote:
+#ifdef USE_LIBFFI
+extern "C" {
+#include <ffi.h>
+}
+#endif
+

Is there a reason why you are wrapping the include of ffi.h with 'extern "C"'
as that seems wrong and problematic. Now if ffi.h is not C++ includable,
it should be fixed instead of working about it each time it is included.


-- Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]