Skip to content

Instantly share code, notes, and snippets.

@dcolish
Created August 20, 2012 07:21
Show Gist options
  • Select an option

  • Save dcolish/3401815 to your computer and use it in GitHub Desktop.

Select an option

Save dcolish/3401815 to your computer and use it in GitHub Desktop.
make all-recursive
make[1]: Entering directory `/tmp/xapian/xapian-core'
Making all in .
make[2]: Entering directory `/tmp/xapian/xapian-core'
depbase=`echo queryparser/queryparser_internal.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./common -I./include -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -Werror -fvisibility=hidden -g -O2 -MT queryparser/queryparser_internal.lo -MD -MP -MF $depbase.Tpo -c -o queryparser/queryparser_internal.lo queryparser/queryparser_internal.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./common -I./include -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -Werror -fvisibility=hidden -g -O2 -MT queryparser/queryparser_internal.lo -MD -MP -MF queryparser/.deps/queryparser_internal.Tpo -c queryparser/queryparser_internal.cc -fPIC -DPIC -o queryparser/.libs/queryparser_internal.o
queryparser/queryparser.lemony: In member function 'Xapian::Query Xapian::QueryParser::Internal::parse_query(const string&, unsigned int, const string&)':
queryparser/queryparser.lemony:883:9: error: 'LinkGrammar' was not declared in this scope
queryparser/queryparser.lemony:883:21: error: expected ';' before 'pos_tagger'
queryparser/queryparser.lemony:884:37: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::list'
queryparser/queryparser.lemony:884:37: error: expected a type, got 'LinkGrammar'
queryparser/queryparser.lemony:884:37: error: template argument 2 is invalid
queryparser/queryparser.lemony:884:47: error: invalid type in declaration before ';' token
queryparser/queryparser.lemony:885:20: error: 'pos_tagger' was not declared in this scope
queryparser/queryparser.lemony:889:22: error: request for member 'empty' in 'pos_info', which is of non-class type 'int'
queryparser/queryparser.lemony:898:26: error: request for member 'push_back' in 'pos_info', which is of non-class type 'int'
queryparser/queryparser.lemony:898:36: error: 'LinkGrammar' is not a class or namespace
queryparser/queryparser.lemony:898:67: error: 'LinkGrammar' is not a class or namespace
queryparser/queryparser.lemony:912:42: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::list'
queryparser/queryparser.lemony:912:42: error: expected a type, got 'LinkGrammar'
queryparser/queryparser.lemony:912:42: error: template argument 2 is invalid
queryparser/queryparser.lemony:912:54: error: invalid type in declaration before 'lg_it'
queryparser/queryparser.lemony:912:54: error: invalid use of qualified-name '::iterator'
queryparser/queryparser.lemony:912:54: error: expected ';' before 'lg_it'
queryparser/queryparser.lemony:912:54: error: 'lg_it' was not declared in this scope
queryparser/queryparser.lemony:912:71: error: request for member 'begin' in 'pos_info', which is of non-class type 'int'
queryparser/queryparser.lemony:913:35: error: request for member 'end' in 'pos_info', which is of non-class type 'int'
queryparser/queryparser.lemony:913:40: error: expected ')' before ';' token
queryparser/queryparser.lemony:913:42: error: 'lg_it' was not declared in this scope
queryparser/queryparser.lemony:913:49: error: expected ';' before ')' token
queryparser/queryparser.lemony:903:13: error: unused variable 'token' [-Werror=unused-variable]
queryparser/queryparser.lemony:905:14: error: unused variable 'was_acronym' [-Werror=unused-variable]
queryparser/queryparser.lemony:905:27: error: unused variable 'is_cjk_term' [-Werror=unused-variable]
queryparser/queryparser.lemony:905:40: error: unused variable 'is_nonwordchar_inbetween' [-Werror=unused-variable]
queryparser/queryparser.lemony:905:66: error: unused variable 'is_next_phrase' [-Werror=unused-variable]
queryparser/queryparser.lemony:905:82: error: unused variable 'was_previous_phrase' [-Werror=unused-variable]
queryparser/queryparser.lemony:906:23: error: unused variable 'stem_term' [-Werror=unused-variable]
queryparser/queryparser.lemony:907:27: error: unused variable 'field_info' [-Werror=unused-variable]
queryparser/queryparser.lemony:908:16: error: unused variable 'term_obj' [-Werror=unused-variable]
queryparser/queryparser.lemony:910:51: error: unused variable 'mode_new' [-Werror=unused-variable]
queryparser/queryparser_internal.cc:3612:1: error: expected '}' at end of input
queryparser/queryparser.lemony:822:10: error: unused variable 'cjk_ngram' [-Werror=unused-variable]
queryparser/queryparser.lemony:828:13: error: unused variable 'term_pos' [-Werror=unused-variable]
queryparser/queryparser.lemony:835:9: error: unused variable 'correction_offset' [-Werror=unused-variable]
queryparser/queryparser_internal.cc:3612:1: error: expected '}' at end of input
queryparser/queryparser_internal.cc:3612:1: error: no return statement in function returning non-void [-Werror=return-type]
queryparser/queryparser.lemony: At global scope:
queryparser/queryparser.lemony:473:1: error: 'void add_to_query(Xapian::Query*&, Xapian::Query::op, Xapian::Query*)' defined but not used [-Werror=unused-function]
queryparser/queryparser.lemony:485:1: error: 'void add_to_query(Xapian::Query*&, Xapian::Query::op, const Xapian::Query&)' defined but not used [-Werror=unused-function]
queryparser/queryparser.lemony:674:18: error: 'yyParser* ParseAlloc()' declared 'static' but never defined [-Werror=unused-function]
queryparser/queryparser.lemony:675:13: error: 'void ParseFree(yyParser*)' declared 'static' but never defined [-Werror=unused-function]
queryparser/queryparser.lemony:676:13: error: 'void Parse(yyParser*, int, Term*, State*)' declared 'static' but never defined [-Werror=unused-function]
queryparser/queryparser.lemony:677:13: error: 'void yy_parse_failed(yyParser*)' declared 'static' but never defined [-Werror=unused-function]
cc1plus: all warnings being treated as errors
make[2]: *** [queryparser/queryparser_internal.lo] Error 1
make[2]: Leaving directory `/tmp/xapian/xapian-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xapian/xapian-core'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment