[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fts: allow compilation with C++
From: |
Jim Meyering |
Subject: |
Re: [PATCH] fts: allow compilation with C++ |
Date: |
Sun, 22 Aug 2010 16:25:49 +0200 |
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 <fts_.h> because it breaks
> verify.h:
>
> In file included from ../lib/i-ring.h:18,
> from ../lib/fts_.h:66:
> ../lib/verify.h:147: error: template with C linkage
> +2010-08-22 Giuseppe Scrivano <address@hidden>
> +
> + fts: allow compilation with C++
> + * lib/fts_.h: Specify extern "C" linkage with C++.
Hi Giuseppe,
Thanks for the patch.
That looks fine, so I've pushed it.