Ticket #657: xapian-clang-log-error.log

File xapian-clang-log-error.log, 4.4 KB (added by German M. Bravo, 10 years ago)

Log of clang errors

Line 
1...
2
3libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/Users/kronuz/Development/xapian/xapian-core -I/Users/kronuz/Development/xapian/xapian-core/common -I/Users/kronuz/Development/xapian/xapian-core/include -I./include -I/Users/kronuz/Development/xapian/xapian-core/languages -Ilanguages -I/Users/kronuz/Development/xapian/xapian-core/queryparser -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 -MT api/omdatabase.lo -MD -MP -MF api/.deps/omdatabase.Tpo -c /Users/kronuz/Development/xapian/xapian-core/api/omdatabase.cc -fno-common -DPIC -o api/.libs/omdatabase.o
4In file included from /Users/kronuz/Development/xapian/xapian-core/api/omdatabase.cc:35:
5In file included from /Users/kronuz/Development/xapian/xapian-core/common/debuglog.h:27:
6/Users/kronuz/Development/xapian/xapian-core/common/pretty.h:44:15: error: call to function 'operator<<' that is neither visible in the template definition nor found
7 by argument-dependent lookup
8 return *this << t;
9 ^
10/Users/kronuz/Development/xapian/xapian-core/api/omdatabase.cc:250:72: note: in instantiation of function template specialization
11 'Xapian::Internal::PrettyOStream<std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::operator|<std::__1::basic_string<char> >'
12 requested here
13 LOGCALL(API, PositionIterator, "Database::positionlist_begin", did | tname);
14 ^
15/Users/kronuz/Development/xapian/xapian-core/common/debuglog.h:361:28: note: expanded from macro 'LOGCALL'
16 xapian_logcall_stream_ << PARAMS; \
17 ^
18/Users/kronuz/Development/xapian/xapian-core/common/pretty.h:148:1: note: 'operator<<' should be declared prior to the call site or in namespace 'Xapian::Internal'
19operator<<(PrettyOStream<S> &ps, const std::string & str)
20^
21/Users/kronuz/Development/xapian/xapian-core/common/pretty.h:44:15: error: call to function 'operator<<' that is neither visible in the template definition nor found
22 by argument-dependent lookup
23 return *this << t;
24 ^
25/Users/kronuz/Development/xapian/xapian-core/api/omdatabase.cc:564:68: note: in instantiation of function template specialization
26 'Xapian::Internal::PrettyOStream<std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::operator|<unsigned int>' requested here
27 LOGCALL(API, string, "Database::get_spelling_suggestion", word | max_edit_distance);
28 ^
29/Users/kronuz/Development/xapian/xapian-core/common/debuglog.h:361:28: note: expanded from macro 'LOGCALL'
30 xapian_logcall_stream_ << PARAMS; \
31 ^
32/Users/kronuz/Development/xapian/xapian-core/common/pretty.h:63:1: note: 'operator<<' should be declared prior to the call site or in namespace 'Xapian::Internal'
33operator<<(PrettyOStream<S> &ps, const T & t)
34^
35/Users/kronuz/Development/xapian/xapian-core/common/pretty.h:44:15: error: call to function 'operator<<' that is neither visible in the template definition nor found
36 by argument-dependent lookup
37 return *this << t;
38 ^
39/Users/kronuz/Development/xapian/xapian-core/api/omdatabase.cc:894:65: note: in instantiation of function template specialization
40 'Xapian::Internal::PrettyOStream<std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::operator|<Xapian::Document>' requested here
41 LOGCALL_VOID(API, "WritableDatabase::replace_document", did | document);
42 ^
43/Users/kronuz/Development/xapian/xapian-core/common/debuglog.h:372:28: note: expanded from macro 'LOGCALL_VOID'
44 xapian_logcall_stream_ << PARAMS; \
45 ^
46/Users/kronuz/Development/xapian/xapian-core/common/pretty.h:63:1: note: 'operator<<' should be declared prior to the call site or in an associated namespace of one
47 of its arguments
48operator<<(PrettyOStream<S> &ps, const T & t)
49^
503 errors generated.
51make[3]: *** [api/omdatabase.lo] Error 1
52make[2]: *** [all-recursive] Error 1
53make[1]: *** [all] Error 2
54make: *** [all] Error 2