Guest User

Untitled

a guest
Jun 25th, 2016
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.78 KB | None | 0 0
  1. hort unsigned int*â, but argument 6 has type âunsigned char*â [-Wformat=]
  2. In file included from src/core/../net/addrman.h:14:0,
  3. from src/core/../net/net.h:24,
  4. from src/core/unifiedtime.h:14,
  5. from src/core/unifiedtime.cpp:9:
  6. src/core/../net/../util/util.h: In function âstd::vector<unsigned char> parse_ip(std::string)â:
  7. src/core/../net/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 3 has type âunsigned char*â [-Wformat=]
  8. sscanf(ip.c_str(), "%hu.%hu.%hu.%hu", &bytes[0], &bytes[1], &bytes[2], &bytes[3]);
  9. ^
  10. src/core/../net/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 4 has type âunsigned char*â [-Wformat=]
  11. src/core/../net/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 5 has type âunsigned char*â [-Wformat=]
  12. src/core/../net/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 6 has type âunsigned char*â [-Wformat=]
  13. In file included from src/net/../wallet/wallet.h:12:0,
  14. from src/net/../main.h:12,
  15. from src/net/net.cpp:12:
  16. src/net/../wallet/../core/core.h: In member function âint Core::CTrustKey::GetBlock(uint1024)â:
  17. src/net/../wallet/../core/core.h:641:8: warning: unused variable ânRemoveâ [-Wunused-variable]
  18. int nRemove = -1;
  19. ^
  20. In file included from src/core/../wallet/db.h:12:0,
  21. from src/core/unifiedtime.h:15,
  22. from src/core/unifiedtime.cpp:9:
  23. src/core/../wallet/../core/core.h: In member function âint Core::CTrustKey::GetBlock(uint1024)â:
  24. src/core/../wallet/../core/core.h:641:8: warning: unused variable ânRemoveâ [-Wunused-variable]
  25. int nRemove = -1;
  26. ^
  27. In file included from src/net/../wallet/../core/../util/bignum.h:16:0,
  28. from src/net/../wallet/../core/core.h:12,
  29. from src/net/../wallet/wallet.h:12,
  30. from src/net/../main.h:12,
  31. from src/net/rpcdump.cpp:9:
  32. src/net/../wallet/../core/../util/../util/util.h: In function âstd::vector<unsigned char> parse_ip(std::string)â:
  33. src/net/../wallet/../core/../util/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 3 has type âunsigned char*â [-Wformat=]
  34. sscanf(ip.c_str(), "%hu.%hu.%hu.%hu", &bytes[0], &bytes[1], &bytes[2], &bytes[3]);
  35. ^
  36. src/net/../wallet/../core/../util/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 4 has type âunsigned char*â [-Wformat=]
  37. src/net/../wallet/../core/../util/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 5 has type âunsigned char*â [-Wformat=]
  38. src/net/../wallet/../core/../util/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 6 has type âunsigned char*â [-Wformat=]
  39. In file included from src/core/../LLP/client.h:4:0,
  40. from src/core/unifiedtime.cpp:10:
  41. src/core/../LLP/types.h: At global scope:
  42. src/core/../LLP/types.h:52:19: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
  43. bool fStopped = false;
  44. ^
  45. src/core/../LLP/types.h: In constructor âLLP::DDOS_Filter::DDOS_Filter(unsigned int)â:
  46. src/core/../LLP/types.h:183:22: warning: âLLP::DDOS_Filter::cSCOREâ will be initialized after [-Wreorder]
  47. DDOS_Score rSCORE, cSCORE;
  48. ^
  49. src/core/../LLP/types.h:180:16: warning: âunsigned int LLP::DDOS_Filter::BANTIMEâ [-Wreorder]
  50. unsigned int BANTIME, TOTALBANS;
  51. ^
  52. src/core/../LLP/types.h:184:3: warning: when initialized here [-Wreorder]
  53. DDOS_Filter(unsigned int nTimespan) : rSCORE(nTimespan), cSCORE(nTimespan), BANTIME(0), TOTALBANS(0) { }
  54. ^
  55. In file included from src/core/../LLP/client.h:4:0,
  56. from src/core/unifiedtime.cpp:10:
  57. src/core/../LLP/types.h: In member function âvirtual bool LLP::Connection::ProcessPacket()â:
  58. src/core/../LLP/types.h:296:33: warning: no return statement in function returning non-void [-Wreturn-type]
  59. virtual bool ProcessPacket(){ }
  60. ^
  61. src/core/../LLP/types.h: In constructor âLLP::Connection::Connection()â:
  62. src/core/../LLP/types.h:305:18: warning: âLLP::Connection::DDOSâ will be initialized after [-Wreorder]
  63. DDOS_Filter* DDOS;
  64. ^
  65. src/core/../LLP/types.h:301:17: warning: âLLP::Packet LLP::Connection::INCOMINGâ [-Wreorder]
  66. Packet INCOMING;
  67. ^
  68. src/core/../LLP/types.h:317:3: warning: when initialized here [-Wreorder]
  69. Connection() : SOCKET(), DDOS(NULL), INCOMING(), CONNECTED(false), fDDOS(false) { INCOMING.SetNull(); }
  70. ^
  71. src/core/../LLP/types.h: In constructor âLLP::Connection::Connection(LLP::Socket_t, LLP::DDOS_Filter*, bool)â:
  72. src/core/../LLP/types.h:313:8: warning: âLLP::Connection::fDDOSâ will be initialized after [-Wreorder]
  73. bool fDDOS;
  74. ^
  75. src/core/../LLP/types.h:305:18: warning: âLLP::DDOS_Filter* LLP::Connection::DDOSâ [-Wreorder]
  76. DDOS_Filter* DDOS;
  77. ^
  78. src/core/../LLP/types.h:318:3: warning: when initialized here [-Wreorder]
  79. Connection( Socket_t SOCKET_IN, DDOS_Filter* DDOS_IN, bool isDDOS = false) : SOCKET(SOCKET_IN), fDDOS(isDDOS), DDOS(DDOS_IN), INCOMING(), CONNECTED(false) { TIMER.Start(); }
  80. ^
  81. src/core/../LLP/types.h:305:18: warning: âLLP::Connection::DDOSâ will be initialized after [-Wreorder]
  82. DDOS_Filter* DDOS;
  83. ^
  84. src/core/../LLP/types.h:301:17: warning: âLLP::Packet LLP::Connection::INCOMINGâ [-Wreorder]
  85. Packet INCOMING;
  86. ^
  87. src/core/../LLP/types.h:318:3: warning: when initialized here [-Wreorder]
  88. Connection( Socket_t SOCKET_IN, DDOS_Filter* DDOS_IN, bool isDDOS = false) : SOCKET(SOCKET_IN), fDDOS(isDDOS), DDOS(DDOS_IN), INCOMING(), CONNECTED(false) { TIMER.Start(); }
  89. ^
  90. In file included from src/core/unifiedtime.cpp:10:0:
  91. src/core/../LLP/client.h: In constructor âLLP::Outbound::Outbound(std::string, std::string)â:
  92. src/core/../LLP/client.h:13:19: warning: âLLP::Outbound::PORTâ will be initialized after [-Wreorder]
  93. std::string IP, PORT;
  94. ^
  95. src/core/../LLP/client.h:16:79: warning: base âLLP::Connectionâ [-Wreorder]
  96. Outbound(std::string ip, std::string port) : IP(ip), PORT(port), Connection() { }
  97. ^
  98. src/core/../LLP/client.h:16:3: warning: when initialized here [-Wreorder]
  99. Outbound(std::string ip, std::string port) : IP(ip), PORT(port), Connection() { }
  100. ^
  101. src/net/net.cpp: In function âvoid Net::ThreadMapPort2(void*)â:
  102. src/net/net.cpp:877:72: error: invalid conversion from âint*â to âunsigned charâ [-fpermissive]
  103. devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
  104. ^
  105. src/net/net.cpp:877:72: error: too few arguments to function âUPNPDev* upnpDiscover(int, const char*, const char*, int, int, unsigned char, int*)â
  106. In file included from src/net/net.cpp:23:0:
  107. /usr/include/miniupnpc/miniupnpc.h:62:1: note: declared here
  108. upnpDiscover(int delay, const char * multicastif,
  109. ^
  110. src/net/net.cpp: In function âvoid Net::ThreadOpenConnections2(void*)â:
  111. src/net/net.cpp:1132:9: warning: unused variable ânStartâ [-Wunused-variable]
  112. int64 nStart = GetUnifiedTimestamp();
  113. ^
  114. In file included from src/net/../wallet/../core/../util/bignum.h:16:0,
  115. from src/net/../wallet/../core/core.h:12,
  116. from src/net/../wallet/wallet.h:12,
  117. from src/net/../main.h:12,
  118. from src/net/rpcserver.cpp:9:
  119. src/net/../wallet/../core/../util/../util/util.h: In function âstd::vector<unsigned char> parse_ip(std::string)â:
  120. src/net/../wallet/../core/../util/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 3 has type âunsigned char*â [-Wformat=]
  121. sscanf(ip.c_str(), "%hu.%hu.%hu.%hu", &bytes[0], &bytes[1], &bytes[2], &bytes[3]);
  122. ^
  123. src/net/../wallet/../core/../util/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 4 has type âunsigned char*â [-Wformat=]
  124. src/net/../wallet/../core/../util/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 5 has type âunsigned char*â [-Wformat=]
  125. src/net/../wallet/../core/../util/../util/util.h:105:82: warning: format â%huâ expects argument of type âshort unsigned int*â, but argument 6 has type âunsigned char*â [-Wformat=]
  126. In file included from src/net/../wallet/wallet.h:12:0,
  127. from src/net/../main.h:12,
  128. from src/net/rpcdump.cpp:9:
  129. src/net/../wallet/../core/core.h: In member function âint Core::CTrustKey::GetBlock(uint1024)â:
  130. src/net/../wallet/../core/core.h:641:8: warning: unused variable ânRemoveâ [-Wunused-variable]
  131. int nRemove = -1;
  132. ^
  133. In file included from src/net/../wallet/wallet.h:12:0,
  134. from src/net/../main.h:12,
  135. from src/net/rpcserver.cpp:9:
  136. src/net/../wallet/../core/core.h: In member function âint Core::CTrustKey::GetBlock(uint1024)â:
  137. src/net/../wallet/../core/core.h:641:8: warning: unused variable ânRemoveâ [-Wunused-variable]
  138. int nRemove = -1;
  139. ^
  140. In file included from src/net/../net/rpcserver.h:18:0,
  141. from src/net/rpcdump.cpp:10:
  142. /home/whitesoxcrypto/Nexus/src/json/json_spirit_writer_template.h: In function âString_type json_spirit::non_printable_to_string(unsigned int)â:
  143. /home/whitesoxcrypto/Nexus/src/json/json_spirit_writer_template.h:31:50: warning: typedef âChar_typeâ locally defined but not used [-Wunused-local-typedefs]
  144. typedef typename String_type::value_type Char_type;
  145. ^
  146. In file included from src/net/rpcserver.h:18:0,
  147. from src/net/rpcserver.cpp:14:
  148. /home/whitesoxcrypto/Nexus/src/json/json_spirit_writer_template.h: In function âString_type json_spirit::non_printable_to_string(unsigned int)â:
  149. /home/whitesoxcrypto/Nexus/src/json/json_spirit_writer_template.h:31:50: warning: typedef âChar_typeâ locally defined but not used [-Wunused-local-typedefs]
  150. typedef typename String_type::value_type Char_type;
Advertisement
Add Comment
Please, Sign In to add comment