Guest User

Untitled

a guest
Jan 24th, 2016
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.45 KB | None | 0 0
  1. finder.cpp: In function ‘char* GetCodePage(const char*)’:
  2. finder.cpp:60:7: warning: address of local variable ‘cdpg’ returned [-Wreturn-local-addr]
  3. char cdpg[32] = {0};
  4. ^
  5. finder.cpp:60:7: warning: address of local variable ‘cdpg’ returned [-Wreturn-local-addr]
  6. finder.cpp:60:7: warning: address of local variable ‘cdpg’ returned [-Wreturn-local-addr]
  7. finder.cpp:60:7: warning: address of local variable ‘cdpg’ returned [-Wreturn-local-addr]
  8. finder.cpp:60:7: warning: address of local variable ‘cdpg’ returned [-Wreturn-local-addr]
  9. finder.cpp: In function ‘void fputsf(char*, int, char*)’:
  10. finder.cpp:492:7: warning: unused variable ‘wew’ [-Wunused-variable]
  11. char wew[256] = {0};
  12. ^
  13. finder.cpp: At global scope:
  14. finder.cpp:763:26: warning: unused parameter ‘hl’ [-Wunused-parameter]
  15. void _specFillerBA(char *hl, const char *ip, char *port, char *finalstr, const char *login, const char *pass, int flag)
  16. ^
  17. finder.cpp:782:26: warning: unused parameter ‘hl’ [-Wunused-parameter]
  18. void _specFillerWF(char *hl, const char *ip, char *port, char *finalstr, char *login, char *pass, int flag)
  19. ^
  20. finder.cpp: In function ‘char* _getAttribute(const char*, char*)’:
  21. finder.cpp:935:8: warning: address of local variable ‘res’ returned [-Wreturn-local-addr]
  22. char res[1024] = {0};
  23. ^
  24. finder.cpp: In function ‘void _getInputVal(std::vector<std::basic_string<char> >, char*, char*)’:
  25. finder.cpp:959:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  26. for(int i = 0; i < inputVec.size(); ++i)
  27. ^
  28. finder.cpp:963:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  29. for(int j = 0; j < vecUser.size(); ++j)
  30. ^
  31. finder.cpp:976:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  32. for(int i = 0; i < inputVec.size(); ++i)
  33. ^
  34. finder.cpp:980:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  35. for(int j = 0; j < vecPass.size(); ++j)
  36. ^
  37. finder.cpp: At global scope:
  38. finder.cpp:1181:23: warning: unused parameter ‘cookie’ [-Wunused-parameter]
  39. void _specBrute(char *cookie, const char *ip, int port,
  40. ^
  41. finder.cpp: In function ‘const char* GetTitle(const char*)’:
  42. finder.cpp:1206:7: warning: address of local variable ‘finalstr’ returned [-Wreturn-local-addr]
  43. char finalstr[512] = { 0 };
  44. ^
  45. finder.cpp:1206:7: warning: address of local variable ‘finalstr’ returned [-Wreturn-local-addr]
  46. finder.cpp:1206:7: warning: address of local variable ‘finalstr’ returned [-Wreturn-local-addr]
  47. finder.cpp: At global scope:
  48. finder.cpp:1666:29: warning: unused parameter ‘cookie’ [-Wunused-parameter]
  49. int redirectReconnect(char *cookie, char *ip, int port, char *str, Lexems *ls, PathStr *ps, std::vector<std::string> *redirStrLst)
  50. ^
  51. finder.cpp: In function ‘int globalSearchNeg(const char*, const char*, int)’:
  52. finder.cpp:220:1: warning: control reaches end of non-void function [-Wreturn-type]
  53. }
  54. ^
  55. 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
  56. finder.cpp: In function ‘const char* GetTitle(const char*)’:
  57. finder.cpp:1309:27: warning: ‘secondStr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  58. int hm = (int)(secondStr-firstStr);
  59. ^
  60. finder.cpp:1268:38: warning: ‘firstStr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  61. if(strstri(firstStr, "description") != NULL) firstStr = strstri(firstStr, "description");
  62. ^
  63. Connector.cpp:229:20: warning: unused parameter ‘handle’ [-Wunused-parameter]
  64. int my_trace(CURL *handle, curl_infotype type,
  65. ^
  66. Connector.cpp:231:20: warning: unused parameter ‘userp’ [-Wunused-parameter]
  67. void *userp)
  68. ^
  69. In file included from mainResources.h:7:0,
  70. from nesca_3.h:24,
  71. from STh.h:5,
  72. from Connector.h:7,
  73. from Connector.cpp:1:
  74. 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*)’:
  75. Connector.cpp:304:48: error: ‘TRUE’ was not declared in this scope
  76. curl_easy_setopt(curl, CURLOPT_FTPLISTONLY, TRUE);
  77. ^
  78. Makefile:849: recipe for target 'Connector.o' failed
  79. make: *** [Connector.o] Error 1
  80. make: *** Waiting for unfinished jobs....
  81. connector_old.cpp: In function ‘char* _getAttributeValue(char*, char*, char*, int)’:
  82. connector_old.cpp:209:7: warning: address of local variable ‘res’ returned [-Wreturn-local-addr]
  83. char res[1024] = {0};
  84. ^
  85. connector_old.cpp: In function ‘char* _makeDigestResponse(char*, char*, char*, char*, char*, char*, char*, char*)’:
  86. connector_old.cpp:317:17: warning: NULL used in arithmetic [-Wpointer-arith]
  87. if (*pszQop != NULL) {
  88. ^
  89. connector_old.cpp:332:7: warning: address of local variable ‘responseMD5’ returned [-Wreturn-local-addr]
  90. char responseMD5[64] = {0};
  91. ^
  92. connector_old.cpp: In function ‘int _webLoginSeq(char*, char*, char*, const char*, int, int, char*, std::vector<char*>)’:
  93. connector_old.cpp:357:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  94. else if(host=gethostbyname(ip)) ((unsigned long*) &sockAddr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0];
  95. ^
  96. connector_old.cpp:357:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  97. else if(host=gethostbyname(ip)) ((unsigned long*) &sockAddr.sin_addr)[0] = ((unsigned long**)host->h_addr_list)[0][0];
  98. ^
  99. connector_old.cpp:408:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  100. for(int i = 0; i < negVector.size(); ++i)
  101. ^
  102. In file included from nesca_3.h:24:0,
  103. from STh.h:5,
  104. from connector_old.cpp:1:
  105. connector_old.cpp: In function ‘lopaStr _IPCameraBrute(const char*, int, char*)’:
  106. 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]
  107. ZeroMemory(passString, sizeof(passString));
  108. ^
  109. mainResources.h:33:64: note: in definition of macro ‘ZeroMemory’
  110. #define ZeroMemory(Destination,Length) memset((Destination),0,(Length))
  111. ^
  112. 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]
  113. ZeroMemory(passString, sizeof(passString));
  114. ^
  115. mainResources.h:33:64: note: in definition of macro ‘ZeroMemory’
  116. #define ZeroMemory(Destination,Length) memset((Destination),0,(Length))
  117. ^
  118. 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]
  119. ZeroMemory(passString, sizeof(passString));
  120. ^
  121. mainResources.h:33:64: note: in definition of macro ‘ZeroMemory’
  122. #define ZeroMemory(Destination,Length) memset((Destination),0,(Length))
  123. ^
Advertisement
Add Comment
Please, Sign In to add comment