Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------- Clean: Debug in milanouncer (compiler: GNU GCC Compiler)---------------
- Cleaned "milanouncer - Debug"
- -------------- Build: Debug in milanouncer (compiler: GNU GCC Compiler)---------------
- mingw32-g++.exe -Wall -fexceptions -g -Iutils\js\miniz -I"C:\CodeBlocks\MinGW\bin" -I"C:\CodeBlocks\MinGW\include" -c E:\CB_Projects\milanouncer\main.cpp -o obj\Debug\main.o
- E:\CB_Projects\milanouncer\main.cpp:813:26: warning: multi-character character constant [-Wmultichar]
- case '\\': c = '\\u'; break;
- ^
- In file included from E:\CB_Projects\milanouncer\main.cpp:59:0:
- E:\CB_Projects\milanouncer\stdCapture.h: In constructor 'StdCapture::StdCapture()':
- E:\CB_Projects\milanouncer\stdCapture.h:109:10: warning: 'StdCapture::m_init' will be initialized after [-Wreorder]
- bool m_init;
- ^
- E:\CB_Projects\milanouncer\stdCapture.h:106:9: warning: 'int StdCapture::m_oldStdOut' [-Wreorder]
- int m_oldStdOut;
- ^
- E:\CB_Projects\milanouncer\stdCapture.h:9:5: warning: when initialized here [-Wreorder]
- StdCapture(): m_capturing(false), m_init(false), m_oldStdOut(0), m_oldStdErr(0)
- ^
- E:\CB_Projects\milanouncer\main.cpp: In function 'int parseUTF(std::string)':
- E:\CB_Projects\milanouncer\main.cpp:442:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- while (pos < str.length())
- ^
- E:\CB_Projects\milanouncer\main.cpp: In function 'wchar_t* UTF8_to_WChar(const char*)':
- E:\CB_Projects\milanouncer\main.cpp:568:28: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
- res[b]=((*a&31)<<6)|a[1]&63;
- ^
- E:\CB_Projects\milanouncer\main.cpp:572:44: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
- res[b]=((*a&15)<<12)|((a[1]&63)<<6)|a[2]&63;
- ^
- E:\CB_Projects\milanouncer\main.cpp: In function 'char* WChar_to_UTF8(const wchar_t*)':
- E:\CB_Projects\milanouncer\main.cpp:664:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
- res[b]=*string&63|128;
- ^
- E:\CB_Projects\milanouncer\main.cpp:668:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
- res[b]=*string&63|128;
- ^
- E:\CB_Projects\milanouncer\main.cpp: In function 'std::string unescape2(char*)':
- E:\CB_Projects\milanouncer\main.cpp:741:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
- if( n=_str-str ){
- ^
- E:\CB_Projects\milanouncer\main.cpp:752:70: warning: passing NULL to non-pointer argument 2 of 'int WideCharToMultiByte(UINT, DWORD, LPCWSTR, int, LPSTR, int, LPCSTR, LPBOOL)' [-Wconversion-null]
- WideCharToMultiByte(CP_OEMCP,NULL, &wc,-1,(char*)code,2,NULL,FALSE);
- ^
- E:\CB_Projects\milanouncer\main.cpp: In function 'std::string utfEscape(const string&)':
- E:\CB_Projects\milanouncer\main.cpp:813:24: warning: overflow in implicit constant conversion [-Woverflow]
- case '\\': c = '\\u'; break;
- ^
- E:\CB_Projects\milanouncer\main.cpp: In function 'std::string myUtf8(std::string)':
- E:\CB_Projects\milanouncer\main.cpp:837:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- for ( i= 0; i < str.size(); i++) {
- ^
- E:\CB_Projects\milanouncer\main.cpp: In function 'void OnData(const happyhttp::Response*, void*, const unsigned char*, int)':
- E:\CB_Projects\milanouncer\main.cpp:1232:29: warning: unused variable 'a' [-Wunused-variable]
- if (const char* a=r->getheader("set-cookie")) {
- ^
- E:\CB_Projects\milanouncer\main.cpp:1215:21: warning: unused variable 'a' [-Wunused-variable]
- if (const char* a = r->getheader("set-cookie")) {
- ^
- E:\CB_Projects\milanouncer\main.cpp: In function 'int main(int, char**)':
- E:\CB_Projects\milanouncer\main.cpp:1405:10: warning: unused variable 'line' [-Wunused-variable]
- char line[256];
- ^
- E:\CB_Projects\milanouncer\main.cpp:1407:9: warning: unused variable 'i' [-Wunused-variable]
- int i;
- ^
- E:\CB_Projects\milanouncer\main.cpp: In function 'std::string myUtf8(std::string)':
- E:\CB_Projects\milanouncer\main.cpp:846:36: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
- *p = (char)hex2dec(tmp);
- ^
- mingw32-gcc.exe -Wall -fexceptions -g -Iutils\js\miniz -I"C:\CodeBlocks\MinGW\bin" -I"C:\CodeBlocks\MinGW\include" -c E:\CB_Projects\milanouncer\one.c -o obj\Debug\one.o
- mingw32-g++.exe -Wall -fexceptions -g -Iutils\js\miniz -I"C:\CodeBlocks\MinGW\bin" -I"C:\CodeBlocks\MinGW\include" -c E:\CB_Projects\milanouncer\utils\tinystr.cpp -o obj\Debug\utils\tinystr.o
- mingw32-g++.exe -Wall -fexceptions -g -Iutils\js\miniz -I"C:\CodeBlocks\MinGW\bin" -I"C:\CodeBlocks\MinGW\include" -c E:\CB_Projects\milanouncer\utils\tinyxml.cpp -o obj\Debug\utils\tinyxml.o
- mingw32-g++.exe -Wall -fexceptions -g -Iutils\js\miniz -I"C:\CodeBlocks\MinGW\bin" -I"C:\CodeBlocks\MinGW\include" -c E:\CB_Projects\milanouncer\utils\happyhttp.cpp -o obj\Debug\utils\happyhttp.o
- E:\CB_Projects\milanouncer\utils\happyhttp.cpp: In function 'in_addr* happyhttp::atoaddr(const char*)':
- E:\CB_Projects\milanouncer\utils\happyhttp.cpp:189:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- if (saddr.s_addr != -1)
- ^
- In file included from E:\CB_Projects\milanouncer\utils\happyhttp.cpp:28:0:
- E:\CB_Projects\milanouncer\utils\happyhttp.h: In constructor 'happyhttp::Response::Response(const char*, happyhttp::Connection&)':
- E:\CB_Projects\milanouncer\utils\happyhttp.h:299:14: warning: 'happyhttp::Response::m_Connection' will be initialized after [-Wreorder]
- Connection& m_Connection; // to access callback ptrs
- ^
- E:\CB_Projects\milanouncer\utils\happyhttp.h:297:4: warning: 'happyhttp::Response::<anonymous enum> happyhttp::Response::m_State' [-Wreorder]
- } m_State;
- ^
- E:\CB_Projects\milanouncer\utils\happyhttp.cpp:506:1: warning: when initialized here [-Wreorder]
- Response::Response( const char* method, Connection& conn ) :
- ^
- E:\CB_Projects\milanouncer\utils\happyhttp.cpp: In member function 'const char* happyhttp::Response::getHeaderVal()':
- E:\CB_Projects\milanouncer\utils\happyhttp.cpp:536:5: warning: label 'std' defined but not used [-Wunused-label]
- std:string finalstr;
- ^
- mingw32-g++.exe -Wall -fexceptions -g -Iutils\js\miniz -I"C:\CodeBlocks\MinGW\bin" -I"C:\CodeBlocks\MinGW\include" -c E:\CB_Projects\milanouncer\utils\tinyxmlerror.cpp -o obj\Debug\utils\tinyxmlerror.o
- mingw32-g++.exe -Wall -fexceptions -g -Iutils\js\miniz -I"C:\CodeBlocks\MinGW\bin" -I"C:\CodeBlocks\MinGW\include" -c E:\CB_Projects\milanouncer\utils\tinyxmlparser.cpp -o obj\Debug\utils\tinyxmlparser.o
- mingw32-g++.exe -L"C:\CodeBlocks\MinGW\lib" -o bin\Debug\milanouncer.exe obj\Debug\main.o obj\Debug\one.o obj\Debug\utils\tinystr.o obj\Debug\utils\tinyxml.o obj\Debug\utils\happyhttp.o obj\Debug\utils\tinyxmlerror.o obj\Debug\utils\tinyxmlparser.o -static-libstdc++ -static-libgcc -lws2_32
- obj\Debug\main.o: In function `main':
- E:/CB_Projects/milanouncer/main.cpp:1409: undefined reference to `js_newstate(void* (*)(void*, void*, unsigned int), void*, int)'
- E:/CB_Projects/milanouncer/main.cpp:1587: undefined reference to `js_freestate(js_State*)'
- collect2.exe: error: ld returned 1 exit status
- Process terminated with status 1 (0 minute(s), 11 second(s))
- 2 error(s), 23 warning(s) (0 minute(s), 11 second(s))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement