Advertisement
Guest User

Untitled

a guest
Apr 13th, 2014
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. In file included from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:31:0:
  2. /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/common/serialise.h: In function ‘std::string encode_length(T)’:
  3. /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/common/serialise.h:57:20: error: declaration of ‘byte’ shadows a global declaration [-Werror=shadow]
  4. unsigned char byte = static_cast<unsigned char>(len & 0x7f);
  5. ^
  6. In file included from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/common/database.h:29:0,
  7. from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/common/document.h:29,
  8. from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:28:
  9. /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/common/internaltypes.h:26:23: error: shadowed declaration is here [-Werror=shadow]
  10. typedef unsigned char byte;
  11. ^
  12. /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc: In member function ‘void Xapian::Document::add_value(Xapian::valueno, const string&)’:
  13. /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:99:65: error: declaration of ‘valueno’ shadows a global declaration [-Werror=shadow]
  14. Document::add_value(Xapian::valueno valueno, const string &value)
  15. ^
  16. In file included from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/include/xapian/document.h:31:0,
  17. from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:26:
  18. /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/include/xapian/types.h:92:18: error: shadowed declaration is here [-Werror=shadow]
  19. typedef unsigned valueno;
  20. ^
  21. /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc: In member function ‘void Xapian::Document::remove_value(Xapian::valueno)’:
  22. /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:106:47: error: declaration of ‘valueno’ shadows a global declaration [-Werror=shadow]
  23. Document::remove_value(Xapian::valueno valueno)
  24. ^
  25. In file included from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/include/xapian/document.h:31:0,
  26. from /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/api/omdocument.cc:26:
  27. /home/satwantrana/codes/xapian-clustering/xapian/xapian-core/include/xapian/types.h:92:18: error: shadowed declaration is here [-Werror=shadow]
  28. typedef unsigned valueno;
  29. ^
  30. cc1plus: all warnings being treated as errors
  31. make[3]: *** [api/omdocument.lo] Error 1
  32. make[3]: Leaving directory `/home/satwantrana/codes/xapian-clustering/xapian/build/xapian-core'
  33. make[2]: *** [all-recursive] Error 1
  34. make[2]: Leaving directory `/home/satwantrana/codes/xapian-clustering/xapian/build/xapian-core'
  35. make[1]: *** [all] Error 2
  36. make[1]: Leaving directory `/home/satwantrana/codes/xapian-clustering/xapian/build/xapian-core'
  37. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement