<div dir="ltr">Hmm, libtool propose another, perhaps better, solution<div><br></div><div><a href="http://cmd.inp.nsk.su/old/cmd2/manuals/gnudocs/gnudocs/libtool/libtool_36.html">http://cmd.inp.nsk.su/old/cmd2/manuals/gnudocs/gnudocs/libtool/libtool_36.html</a><br>
</div><div><br></div><div>But ymmv</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 25, 2013 at 5:38 PM,  <span dir="ltr"><<a href="mailto:n54@gmx.com" target="_blank">n54@gmx.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="font-family:Verdana"><span style="font-size:12px">Hello,<br><br>I'm attaching a patch with the following change-log:<br>
<br>1. Stop defining __BEGIN_DECLS and __END_DECLS in fts.h<br>2. Replace occurences of __BEGIN_DECLS with:<br>extern "C" {<br>3. Replace occurences of __BEGIN_DECLS with:<br>}<br><br>Comment<br>=======<br>__BEGIN_DECLS and __END_DECLS are already defined in the NetBSD's standard C<br>
library as an internal definition and redefinition of it causes errors.<br><br>The possible solutions are to rename the definitions or take rid of them.<br><br>Actually __BEGIN_DECLS and __END_DECLS are used only once and encapsulate<br>
'extern "C" {' and '}', so they aren't really helping more then obfuscating<br>the code.<br><br>Regards,<br>Kamil Rytarowski<p style="margin:0px;padding:0px"> </p></span></span>
<br>_______________________________________________<br>
Rpm-maint mailing list<br>
<a href="mailto:Rpm-maint@lists.rpm.org">Rpm-maint@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-maint" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-maint</a><br>
<br></blockquote></div><br></div>