Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:31:0:
- /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/common/serialise.h: In function ‘std::string encode_length(T)’:
- /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/common/serialise.h:57:20: error: declaration of ‘byte’ shadows a global declaration [-Werror=shadow]
- unsigned char byte = static_cast<unsigned char>(len & 0x7f);
- ^
- In file included from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/common/database.h:29:0,
- from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/common/document.h:29,
- from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:28:
- /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/common/internaltypes.h:26:23: error: shadowed declaration is here [-Werror=shadow]
- typedef unsigned char byte;
- ^
- /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc: In member function ‘void Xapian::Document::add_value(Xapian::valueno, const string&)’:
- /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:99:65: error: declaration of ‘valueno’ shadows a global declaration [-Werror=shadow]
- Document::add_value(Xapian::valueno valueno, const string &value)
- ^
- In file included from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/include/xapian/document.h:31:0,
- from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:26:
- /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/include/xapian/types.h:92:18: error: shadowed declaration is here [-Werror=shadow]
- typedef unsigned valueno;
- ^
- /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc: In member function ‘void Xapian::Document::remove_value(Xapian::valueno)’:
- /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:106:47: error: declaration of ‘valueno’ shadows a global declaration [-Werror=shadow]
- Document::remove_value(Xapian::valueno valueno)
- ^
- In file included from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/include/xapian/document.h:31:0,
- from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:26:
- /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/include/xapian/types.h:92:18: error: shadowed declaration is here [-Werror=shadow]
- typedef unsigned valueno;
- ^
- cc1plus: all warnings being treated as errors
- make[3]: *** [api/omdocument.lo] Error 1
- make[3]: Leaving directory `/home/satwantrana/codes/xapian-clustering/xapian/build/xapian-core'
- make[2]: *** [all-recursive] Error 1
- make[2]: Leaving directory `/home/satwantrana/codes/xapian-clustering/xapian/build/xapian-core'
- make[1]: *** [all] Error 2
- make[1]: Leaving directory `/home/satwantrana/codes/xapian-clustering/xapian/build/xapian-core'
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement