Opened 4 years ago

Closed 4 years ago

#798 closed defect (duplicate)

multimatch.cc forgets about --disable-backend-remote

Reported by: Дилян Палаузов Owned by: Olly Betts
Priority: normal Milestone:
Component: Other Version: 1.4.14
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

With gcc 9.2.1 20191103 calling

cd xapian-core-1.4.14 && ./configure --disable-backend-chert --disable-backend-remote && make V=1

prints:

make[2]: Entering directory '/src/mail/xapian-core-1.4.14'
depbase=`echo matcher/multimatch.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I./common -I./include   -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -pipe -O3 -flto -MT matcher/multimatch.lo -MD -MP -MF $depbase.Tpo -c -o matcher/multimatch.lo matcher/multimatch.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./common -I./include -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -pipe -O3 -flto -MT matcher/multimatch.lo -MD -MP -MF matcher/.deps/multimatch.Tpo -c matcher/multimatch.cc  -fPIC -DPIC -o matcher/.libs/multimatch.o
matcher/multimatch.cc: In member function ‘void MultiMatch::get_mset(Xapian::doccount, Xapian::doccount, Xapian::doccount, Xapian::MSet&, Xapian::Weight::Internal&, const Xapian::MatchDecider*, const Xapian::KeyMaker*)’:
matcher/multimatch.cc:458:3: error: ‘RemoteSubMatch’ was not declared in this scope
  458 |   RemoteSubMatch* rem_match =
      |   ^~~~~~~~~~~~~~
matcher/multimatch.cc:458:19: error: ‘rem_match’ was not declared in this scope; did you mean ‘rpmatch’?
  458 |   RemoteSubMatch* rem_match =
      |                   ^~~~~~~~~
      |                   rpmatch
matcher/multimatch.cc:459:19: error: ‘RemoteSubMatch’ does not name a type
  459 |       static_cast<RemoteSubMatch*>(leaves[i].get());
      |                   ^~~~~~~~~~~~~~
matcher/multimatch.cc:459:33: error: expected ‘>’ before ‘*’ token
  459 |       static_cast<RemoteSubMatch*>(leaves[i].get());
      |                                 ^
matcher/multimatch.cc:459:33: error: expected ‘(’ before ‘*’ token
  459 |       static_cast<RemoteSubMatch*>(leaves[i].get());
      |                                 ^
      |                                 (
matcher/multimatch.cc:459:34: error: expected primary-expression before ‘>’ token
  459 |       static_cast<RemoteSubMatch*>(leaves[i].get());
      |                                  ^
matcher/multimatch.cc:459:52: error: expected ‘)’ before ‘;’ token
  459 |       static_cast<RemoteSubMatch*>(leaves[i].get());
      |                                                    ^
      |                                                    )
make[2]: *** [Makefile:2809: matcher/multimatch.lo] Error 1
make[2]: Leaving directory '/src/mail/xapian-core-1.4.14'
make[1]: *** [Makefile:3278: all-recursive] Error 1
make[1]: Leaving directory '/src/mail/xapian-core-1.4.14'
make: *** [Makefile:1581: all] Error 2

Change History (1)

comment:1 by Дилян Палаузов, 4 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.