Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hort unsigned int*â, but argument 6 has type âunsigned char*â [-Wformat=]
- In file included from src/core/../net/addrman.h:14:0,
- from src/core/../net/net.h:24,
- from src/core/unifiedtime.h:14,
- from src/core/unifiedtime.cpp:9:
- src/core/../net/../util/util.h: In function âstd::vector<unsigned char> parse_ip(std::string)â:
- 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=]
- sscanf(ip.c_str(), "%hu.%hu.%hu.%hu", &bytes[0], &bytes[1], &bytes[2], &bytes[3]);
- ^
- 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=]
- 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=]
- 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=]
- In file included from src/net/../wallet/wallet.h:12:0,
- from src/net/../main.h:12,
- from src/net/net.cpp:12:
- src/net/../wallet/../core/core.h: In member function âint Core::CTrustKey::GetBlock(uint1024)â:
- src/net/../wallet/../core/core.h:641:8: warning: unused variable ânRemoveâ [-Wunused-variable]
- int nRemove = -1;
- ^
- In file included from src/core/../wallet/db.h:12:0,
- from src/core/unifiedtime.h:15,
- from src/core/unifiedtime.cpp:9:
- src/core/../wallet/../core/core.h: In member function âint Core::CTrustKey::GetBlock(uint1024)â:
- src/core/../wallet/../core/core.h:641:8: warning: unused variable ânRemoveâ [-Wunused-variable]
- int nRemove = -1;
- ^
- In file included from src/net/../wallet/../core/../util/bignum.h:16:0,
- from src/net/../wallet/../core/core.h:12,
- from src/net/../wallet/wallet.h:12,
- from src/net/../main.h:12,
- from src/net/rpcdump.cpp:9:
- src/net/../wallet/../core/../util/../util/util.h: In function âstd::vector<unsigned char> parse_ip(std::string)â:
- 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=]
- sscanf(ip.c_str(), "%hu.%hu.%hu.%hu", &bytes[0], &bytes[1], &bytes[2], &bytes[3]);
- ^
- 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=]
- 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=]
- 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=]
- In file included from src/core/../LLP/client.h:4:0,
- from src/core/unifiedtime.cpp:10:
- src/core/../LLP/types.h: At global scope:
- 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]
- bool fStopped = false;
- ^
- src/core/../LLP/types.h: In constructor âLLP::DDOS_Filter::DDOS_Filter(unsigned int)â:
- src/core/../LLP/types.h:183:22: warning: âLLP::DDOS_Filter::cSCOREâ will be initialized after [-Wreorder]
- DDOS_Score rSCORE, cSCORE;
- ^
- src/core/../LLP/types.h:180:16: warning: âunsigned int LLP::DDOS_Filter::BANTIMEâ [-Wreorder]
- unsigned int BANTIME, TOTALBANS;
- ^
- src/core/../LLP/types.h:184:3: warning: when initialized here [-Wreorder]
- DDOS_Filter(unsigned int nTimespan) : rSCORE(nTimespan), cSCORE(nTimespan), BANTIME(0), TOTALBANS(0) { }
- ^
- In file included from src/core/../LLP/client.h:4:0,
- from src/core/unifiedtime.cpp:10:
- src/core/../LLP/types.h: In member function âvirtual bool LLP::Connection::ProcessPacket()â:
- src/core/../LLP/types.h:296:33: warning: no return statement in function returning non-void [-Wreturn-type]
- virtual bool ProcessPacket(){ }
- ^
- src/core/../LLP/types.h: In constructor âLLP::Connection::Connection()â:
- src/core/../LLP/types.h:305:18: warning: âLLP::Connection::DDOSâ will be initialized after [-Wreorder]
- DDOS_Filter* DDOS;
- ^
- src/core/../LLP/types.h:301:17: warning: âLLP::Packet LLP::Connection::INCOMINGâ [-Wreorder]
- Packet INCOMING;
- ^
- src/core/../LLP/types.h:317:3: warning: when initialized here [-Wreorder]
- Connection() : SOCKET(), DDOS(NULL), INCOMING(), CONNECTED(false), fDDOS(false) { INCOMING.SetNull(); }
- ^
- src/core/../LLP/types.h: In constructor âLLP::Connection::Connection(LLP::Socket_t, LLP::DDOS_Filter*, bool)â:
- src/core/../LLP/types.h:313:8: warning: âLLP::Connection::fDDOSâ will be initialized after [-Wreorder]
- bool fDDOS;
- ^
- src/core/../LLP/types.h:305:18: warning: âLLP::DDOS_Filter* LLP::Connection::DDOSâ [-Wreorder]
- DDOS_Filter* DDOS;
- ^
- src/core/../LLP/types.h:318:3: warning: when initialized here [-Wreorder]
- 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(); }
- ^
- src/core/../LLP/types.h:305:18: warning: âLLP::Connection::DDOSâ will be initialized after [-Wreorder]
- DDOS_Filter* DDOS;
- ^
- src/core/../LLP/types.h:301:17: warning: âLLP::Packet LLP::Connection::INCOMINGâ [-Wreorder]
- Packet INCOMING;
- ^
- src/core/../LLP/types.h:318:3: warning: when initialized here [-Wreorder]
- 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(); }
- ^
- In file included from src/core/unifiedtime.cpp:10:0:
- src/core/../LLP/client.h: In constructor âLLP::Outbound::Outbound(std::string, std::string)â:
- src/core/../LLP/client.h:13:19: warning: âLLP::Outbound::PORTâ will be initialized after [-Wreorder]
- std::string IP, PORT;
- ^
- src/core/../LLP/client.h:16:79: warning: base âLLP::Connectionâ [-Wreorder]
- Outbound(std::string ip, std::string port) : IP(ip), PORT(port), Connection() { }
- ^
- src/core/../LLP/client.h:16:3: warning: when initialized here [-Wreorder]
- Outbound(std::string ip, std::string port) : IP(ip), PORT(port), Connection() { }
- ^
- src/net/net.cpp: In function âvoid Net::ThreadMapPort2(void*)â:
- src/net/net.cpp:877:72: error: invalid conversion from âint*â to âunsigned charâ [-fpermissive]
- devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
- ^
- src/net/net.cpp:877:72: error: too few arguments to function âUPNPDev* upnpDiscover(int, const char*, const char*, int, int, unsigned char, int*)â
- In file included from src/net/net.cpp:23:0:
- /usr/include/miniupnpc/miniupnpc.h:62:1: note: declared here
- upnpDiscover(int delay, const char * multicastif,
- ^
- src/net/net.cpp: In function âvoid Net::ThreadOpenConnections2(void*)â:
- src/net/net.cpp:1132:9: warning: unused variable ânStartâ [-Wunused-variable]
- int64 nStart = GetUnifiedTimestamp();
- ^
- In file included from src/net/../wallet/../core/../util/bignum.h:16:0,
- from src/net/../wallet/../core/core.h:12,
- from src/net/../wallet/wallet.h:12,
- from src/net/../main.h:12,
- from src/net/rpcserver.cpp:9:
- src/net/../wallet/../core/../util/../util/util.h: In function âstd::vector<unsigned char> parse_ip(std::string)â:
- 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=]
- sscanf(ip.c_str(), "%hu.%hu.%hu.%hu", &bytes[0], &bytes[1], &bytes[2], &bytes[3]);
- ^
- 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=]
- 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=]
- 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=]
- In file included from src/net/../wallet/wallet.h:12:0,
- from src/net/../main.h:12,
- from src/net/rpcdump.cpp:9:
- src/net/../wallet/../core/core.h: In member function âint Core::CTrustKey::GetBlock(uint1024)â:
- src/net/../wallet/../core/core.h:641:8: warning: unused variable ânRemoveâ [-Wunused-variable]
- int nRemove = -1;
- ^
- In file included from src/net/../wallet/wallet.h:12:0,
- from src/net/../main.h:12,
- from src/net/rpcserver.cpp:9:
- src/net/../wallet/../core/core.h: In member function âint Core::CTrustKey::GetBlock(uint1024)â:
- src/net/../wallet/../core/core.h:641:8: warning: unused variable ânRemoveâ [-Wunused-variable]
- int nRemove = -1;
- ^
- In file included from src/net/../net/rpcserver.h:18:0,
- from src/net/rpcdump.cpp:10:
- /home/whitesoxcrypto/Nexus/src/json/json_spirit_writer_template.h: In function âString_type json_spirit::non_printable_to_string(unsigned int)â:
- /home/whitesoxcrypto/Nexus/src/json/json_spirit_writer_template.h:31:50: warning: typedef âChar_typeâ locally defined but not used [-Wunused-local-typedefs]
- typedef typename String_type::value_type Char_type;
- ^
- In file included from src/net/rpcserver.h:18:0,
- from src/net/rpcserver.cpp:14:
- /home/whitesoxcrypto/Nexus/src/json/json_spirit_writer_template.h: In function âString_type json_spirit::non_printable_to_string(unsigned int)â:
- /home/whitesoxcrypto/Nexus/src/json/json_spirit_writer_template.h:31:50: warning: typedef âChar_typeâ locally defined but not used [-Wunused-local-typedefs]
- typedef typename String_type::value_type Char_type;
Advertisement
Add Comment
Please, Sign In to add comment