Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- finder.cpp: In function ‘char* GetCodePage(const char*)’:
- finder.cpp:60:7: warning: address of local variable ‘cdpg’ returned [-Wreturn-local-addr]
- char cdpg[32] = {0};
- ^
- finder.cpp:60:7: warning: address of local variable ‘cdpg’ returned [-Wreturn-local-addr]
- finder.cpp:60:7: warning: address of local variable ‘cdpg’ returned [-Wreturn-local-addr]
- finder.cpp:60:7: warning: address of local variable ‘cdpg’ returned [-Wreturn-local-addr]
- finder.cpp:60:7: warning: address of local variable ‘cdpg’ returned [-Wreturn-local-addr]
- finder.cpp: In function ‘void fputsf(char*, int, char*)’:
- finder.cpp:492:7: warning: unused variable ‘wew’ [-Wunused-variable]
- char wew[256] = {0};
- ^
- finder.cpp: At global scope:
- finder.cpp:763:26: warning: unused parameter ‘hl’ [-Wunused-parameter]
- void _specFillerBA(char *hl, const char *ip, char *port, char *finalstr, const char *login, const char *pass, int flag)
- ^
- finder.cpp:782:26: warning: unused parameter ‘hl’ [-Wunused-parameter]
- void _specFillerWF(char *hl, const char *ip, char *port, char *finalstr, char *login, char *pass, int flag)
- ^
- finder.cpp: In function ‘char* _getAttribute(const char*, char*)’:
- finder.cpp:935:8: warning: address of local variable ‘res’ returned [-Wreturn-local-addr]
- char res[1024] = {0};
- ^
- finder.cpp: In function ‘void _getInputVal(std::vector<std::basic_string<char> >, char*, char*)’:
- finder.cpp:959:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- for(int i = 0; i < inputVec.size(); ++i)
- ^
- finder.cpp:963:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- for(int j = 0; j < vecUser.size(); ++j)
- ^
- finder.cpp:976:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- for(int i = 0; i < inputVec.size(); ++i)
- ^
- finder.cpp:980:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- for(int j = 0; j < vecPass.size(); ++j)
- ^
- finder.cpp: At global scope:
- finder.cpp:1181:23: warning: unused parameter ‘cookie’ [-Wunused-parameter]
- void _specBrute(char *cookie, const char *ip, int port,
- ^
- finder.cpp: In function ‘const char* GetTitle(const char*)’:
- finder.cpp:1206:7: warning: address of local variable ‘finalstr’ returned [-Wreturn-local-addr]
- char finalstr[512] = { 0 };
- ^
- finder.cpp:1206:7: warning: address of local variable ‘finalstr’ returned [-Wreturn-local-addr]
- finder.cpp:1206:7: warning: address of local variable ‘finalstr’ returned [-Wreturn-local-addr]
- finder.cpp: At global scope:
- finder.cpp:1666:29: warning: unused parameter ‘cookie’ [-Wunused-parameter]
- int redirectReconnect(char *cookie, char *ip, int port, char *str, Lexems *ls, PathStr *ps, std::vector<std::string> *redirStrLst)
- ^
- finder.cpp: In function ‘int globalSearchNeg(const char*, const char*, int)’:
- finder.cpp:220:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- g++ -c -pipe -Wno-write-strings -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/Qt5.3.2/5.3/gcc_64/include/QtWidgets/ -isystem /usr/include/i386-linux-gnu/qt5 -isystem /usr/include/i386-linux-gnu/qt5/QtMultimedia -isystem /usr/include/i386-linux-gnu/qt5/QtWidgets -isystem /usr/include/i386-linux-gnu/qt5/QtGui -isystem /usr/include/i386-linux-gnu/qt5/QtNetwork -isystem /usr/include/i386-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o connector_old.o connector_old.cpp
- finder.cpp: In function ‘const char* GetTitle(const char*)’:
- finder.cpp:1309:27: warning: ‘secondStr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- int hm = (int)(secondStr-firstStr);
- ^
- finder.cpp:1268:38: warning: ‘firstStr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- if(strstri(firstStr, "description") != NULL) firstStr = strstri(firstStr, "description");
- ^
- Connector.cpp:229:20: warning: unused parameter ‘handle’ [-Wunused-parameter]
- int my_trace(CURL *handle, curl_infotype type,
- ^
- Connector.cpp:231:20: warning: unused parameter ‘userp’ [-Wunused-parameter]
- void *userp)
- ^
- In file included from mainResources.h:7:0,
- from nesca_3.h:24,
- from STh.h:5,
- from Connector.h:7,
- from Connector.cpp:1:
- Connector.cpp: In static member function ‘static int Connector::nConnect(const char*, int, std::string*, const char*, const std::vector<std::basic_string<char> >*, const string*)’:
- Connector.cpp:304:48: error: ‘TRUE’ was not declared in this scope
- curl_easy_setopt(curl, CURLOPT_FTPLISTONLY, TRUE);
- ^
- Makefile:849: recipe for target 'Connector.o' failed
- make: *** [Connector.o] Error 1
- make: *** Waiting for unfinished jobs....
- connector_old.cpp: In function ‘char* _getAttributeValue(char*, char*, char*, int)’:
- connector_old.cpp:209:7: warning: address of local variable ‘res’ returned [-Wreturn-local-addr]
- char res[1024] = {0};
- ^
- connector_old.cpp: In function ‘char* _makeDigestResponse(char*, char*, char*, char*, char*, char*, char*, char*)’:
- connector_old.cpp:317:17: warning: NULL used in arithmetic [-Wpointer-arith]
- if (*pszQop != NULL) {
- ^
- connector_old.cpp:332:7: warning: address of local variable ‘responseMD5’ returned [-Wreturn-local-addr]
- char responseMD5[64] = {0};
- ^
- connector_old.cpp: In function ‘int _webLoginSeq(char*, char*, char*, const char*, int, int, char*, std::vector<char*>)’:
- connector_old.cpp:357:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
- else if(host=gethostbyname(ip)) ((unsigned long*) &sockAddr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0];
- ^
- connector_old.cpp:357:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- else if(host=gethostbyname(ip)) ((unsigned long*) &sockAddr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0];
- ^
- connector_old.cpp:408:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- for(int i = 0; i < negVector.size(); ++i)
- ^
- In file included from nesca_3.h:24:0,
- from STh.h:5,
- from connector_old.cpp:1:
- connector_old.cpp: In function ‘lopaStr _IPCameraBrute(const char*, int, char*)’:
- connector_old.cpp:621:34: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
- ZeroMemory(passString, sizeof(passString));
- ^
- mainResources.h:33:64: note: in definition of macro ‘ZeroMemory’
- #define ZeroMemory(Destination,Length) memset((Destination),0,(Length))
- ^
- connector_old.cpp:649:34: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
- ZeroMemory(passString, sizeof(passString));
- ^
- mainResources.h:33:64: note: in definition of macro ‘ZeroMemory’
- #define ZeroMemory(Destination,Length) memset((Destination),0,(Length))
- ^
- connector_old.cpp:695:34: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
- ZeroMemory(passString, sizeof(passString));
- ^
- mainResources.h:33:64: note: in definition of macro ‘ZeroMemory’
- #define ZeroMemory(Destination,Length) memset((Destination),0,(Length))
- ^
Advertisement
Add Comment
Please, Sign In to add comment