[Xapian-devel] Re: [Xapian-commits] 8229: trunk/xapian-core/
trunk/xapian-core/api/
Richard Boulton
richard at lemurconsulting.com
Fri Apr 13 10:32:21 BST 2007
olly wrote:
> SVN root: svn://svn.xapian.org/xapian
> Changes by: olly
> Revision: 8229
> Date: 2007-04-13 10:18:52 +0100 (Fri, 13 Apr 2007)
>
> Log message (4 lines):
> api/version.cc: Simpler and cleaner fix - the prototypes for the
> version functions had moved from xapian/version.h to xapian.h so we
> were including the wrong header and not seeing the prototypes with
> visibility markup!
Ah! I get it now - I couldn't work out why we weren't having this
problem all over the place if the definition needed the attribute as
well as the declaration. Of course, the actual situation is that the
definition just needs to have been preceded by a declaration with the
attribute.
--
Richard
More information about the Xapian-devel
mailing list