Re: [PATCH] fts: allow compilation with C++

2010-08-22 Thread Jim Meyering
Giuseppe Scrivano wrote: > this patch fixes a linker problem when the file is used with C++, > forcing a C linkage. I got this problem under mingw. > > Also, I could not use extern "C" around because it breaks > verify.h: > > In file included from ../lib/i-ring.h:18, > from ../li

[PATCH] fts: allow compilation with C++

2010-08-21 Thread Giuseppe Scrivano
b/verify.h:147: error: template with C linkage Cheers, Giuseppe >From 7cf0da716e9283b2a77d714e73df735702edbef2 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sun, 22 Aug 2010 02:18:31 +0200 Subject: [PATCH] fts: allow compilation with C++ * lib/fts_.h: Specify extern "