[Xapian-tickets] [Xapian] #631: Compilation error in Xapian::Database::get_spelling_suggestion
Xapian
nobody at xapian.org
Mon Jan 6 10:53:47 GMT 2014
#631: Compilation error in Xapian::Database::get_spelling_suggestion
-------------------------------+-------------------
Reporter: dmichelsen | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Other | Version: 1.3.1
Severity: normal | Keywords:
Blocked By: | Blocking:
Operating System: Solaris |
-------------------------------+-------------------
\
\
I get a compilation error on Solaris 10 with Oracle Studio 12.3:
{{{
libtool: compile: /opt/solarisstudio12.3/bin/CC -DHAVE_CONFIG_H -I.
-I./common -I./include -I/opt/csw/include -xO3 -m32 -xarch=sparc
-L/opt/csw/lib -c api/matchspy.cc -o api/matchspy.o >/dev/null 2>&1
source='api/omdatabase.cc' object='api/omdatabase.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ./depcomp \
/bin/bash ./libtool --tag=CXX --mode=compile
/opt/solarisstudio12.3/bin/CC -DHAVE_CONFIG_H -I. -I./common -I./include
-I/opt/csw/include -xO3 -m32 -xarch=sparc -L/opt/csw/lib -c -o
api/omdatabase.lo api/omdatabase.cc
libtool: compile: /opt/solarisstudio12.3/bin/CC -DHAVE_CONFIG_H -I.
-I./common -I./include -I/opt/csw/include -xO3 -m32 -xarch=sparc
-L/opt/csw/lib -c api/omdatabase.cc -KPIC -DPIC -o api/.libs/omdatabase.o
"api/omdatabase.cc", line 562: Error: Could not find a match for
std::vector<unsigned>::vector(Xapian::Utf8Iterator, Xapian::Utf8Iterator)
needed in Xapian::Database::get_spelling_suggestion(const std::string &,
unsigned) const.
"api/omdatabase.cc", line 605: Error: Could not find a match for
std::vector<unsigned>::assign(Xapian::Utf8Iterator, Xapian::Utf8Iterator)
needed in Xapian::Database::get_spelling_suggestion(const std::string &,
unsigned) const.
2 Error(s) detected.
}}}
Maybe cast is needed?
\
\
\
--
Ticket URL: <http://trac.xapian.org/ticket/631>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list