<div dir="ltr"><font color="#000000">Hello,</font><div><font color="#000000"><br></font></div><div><font color="#000000">While setting up tests module for letor (in xapian-letor/tests; <span style="background-color:rgb(255,255,255)">I copied the entire tests folder from xapian-core</span>), I am getting build errors of the following type:</font></div><div><font color="#000000"><br></font></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><font color="#000000"><span class="" style="white-space:pre">     </span>g++ -DHAVE_CONFIG_H -I. -I..  -I.. -I../common -I../include -I../include -I./harness -I../../xapian-core/include  -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wshadow -Wstrict-overflow=1 -Winit-self -Wmissing-declarations -Werror -fvisibility=hidden -g -O2 -std=gnu++11 -MT harness/cputimer.o -MD -MP -MF $depbase.Tpo -c -o harness/cputimer.o harness/cputimer.cc &&\<br><span class="" style="white-space:pre">        </span>mv -f $depbase.Tpo $depbase.Po<br>In file included from harness/cputimer.cc:25:<br>In file included from ./harness/testsuite.h:29:<br>In file included from ../common/output.h:39:<br>../../xapian-core/include/xapian/database.h:29:3: error: "Never use <xapian/database.h> directly; include <xapian.h> instead."<br># error "Never use <xapian/database.h> directly; include <xapian.h> instead."</font></blockquote><div><font color="#000000"><br></font></div><div><font color="#000000">Could you please suggest a workaround for this?</font></div><div><br></div><div><br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px;font-family:arial"><font size="2" color="#666666">----------------------------------------------------------------------------</font></div><div style="font-size:12.8px;font-family:arial"><font size="2" color="#666666">Kind Regards,</font></div><div style="font-size:12.8px"><font size="2" color="#666666" style="font-family:arial">Ayush Tomar</font><font size="2" color="#0000ee" style="font-family:arial"> | <a href="http://ayshtmr.xyz" style="color:rgb(17,85,204)">My Webpage</a></font><font color="#666666" style="font-family:arial"> | <a href="https://in.linkedin.com/in/ayushtomar" style="color:rgb(17,85,204)">LinkedIn</a></font></div></div></div></div></div></div></div></div></div></div>
</div></div>