Building target “FileTest” of project “FileTest” with configuration “Debug” — (129 errors, 4 warnings) cd /Users/kedare/Documents/Developpement/QT/FileTest /usr/bin/c++ -x c++ -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -fmessage-length=0 -fvisibility=hidden -fvisibility-inlines-hidden -I/Users/kedare/Documents/Developpement/QT/FileTest/build/FileTest.build/Debug/FileTest.build/FileTest.hmap -mdynamic-no-pic -F/Users/kedare/Documents/Developpement/QT/FileTest/build/Debug -I/Users/kedare/Documents/Developpement/QT/FileTest/build/Debug/include -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/usr/include -I. -I. -I. -I/usr/local/include -I/System/Library/Frameworks/CarbonCore.framework/Headers -I/usr/local/Qt4.3/mkspecs/macx-xcode -I/Users/kedare/Documents/Developpement/QT/FileTest/build/FileTest.build/Debug/FileTest.build/DerivedSources -pipe -g -Wall -W -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -c /Users/kedare/Documents/Developpement/QT/FileTest/FileTest.cpp -o /Users/kedare/Documents/Developpement/QT/FileTest/build/FileTest.build/Debug/FileTest.build/Objects-normal/i386/FileTest.o /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:16: error: 'QURL' has not been declared /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:23: error: ISO C++ forbids declaration of 'QHttp' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:23: error: expected ';' before '*' token /Library/Frameworks/QtCore.framework/Headers/qhash.h:48: error: expected unqualified-id before string constant /Library/Frameworks/QtCore.framework/Headers/qset.h:51: error: 'QHashDummyValue' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:51: error: template argument 2 is invalid /Library/Frameworks/QtCore.framework/Headers/qset.h:87: error: 'QHashDummyValue' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:87: error: template argument 2 is invalid /Library/Frameworks/QtCore.framework/Headers/qset.h:88: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:88: error: expected nested-name-specifier before 'iterator' /Library/Frameworks/QtCore.framework/Headers/qset.h:88: error: expected ';' before 'i' /Library/Frameworks/QtCore.framework/Headers/qset.h:98: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:98: error: expected unqualified-id before 'typename' /Library/Frameworks/QtCore.framework/Headers/qset.h:98: error: expected `)' before 'typename' /Library/Frameworks/QtCore.framework/Headers/qset.h:121: error: 'QHashDummyValue' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:121: error: template argument 2 is invalid /Library/Frameworks/QtCore.framework/Headers/qset.h:122: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:122: error: expected nested-name-specifier before 'const_iterator' /Library/Frameworks/QtCore.framework/Headers/qset.h:122: error: expected ';' before 'i' /Library/Frameworks/QtCore.framework/Headers/qset.h:132: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:132: error: expected unqualified-id before 'typename' /Library/Frameworks/QtCore.framework/Headers/qset.h:132: error: expected `)' before 'typename' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'int QSet::size() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:65: error: request for member 'size' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'bool QSet::isEmpty() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:67: error: request for member 'isEmpty' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'int QSet::capacity() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:69: error: request for member 'capacity' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'void QSet::squeeze()': /Library/Frameworks/QtCore.framework/Headers/qset.h:71: error: request for member 'squeeze' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'void QSet::detach()': /Library/Frameworks/QtCore.framework/Headers/qset.h:73: error: request for member 'detach' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'bool QSet::isDetached() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:74: error: request for member 'isDetached' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'void QSet::setSharable(bool)': /Library/Frameworks/QtCore.framework/Headers/qset.h:75: error: request for member 'setSharable' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'void QSet::clear()': /Library/Frameworks/QtCore.framework/Headers/qset.h:77: error: request for member 'clear' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'bool QSet::remove(const T&)': /Library/Frameworks/QtCore.framework/Headers/qset.h:79: error: request for member 'remove' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'bool QSet::contains(const T&) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:81: error: request for member 'contains' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In copy constructor 'QSet::iterator::iterator(const QSet::iterator&)': /Library/Frameworks/QtCore.framework/Headers/qset.h:99: error: class 'QSet::iterator' does not have any field named 'i' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator& QSet::iterator::operator=(const QSet::iterator&)': /Library/Frameworks/QtCore.framework/Headers/qset.h:100: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'const T& QSet::iterator::operator*() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:101: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'const T* QSet::iterator::operator->() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:102: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'bool QSet::iterator::operator==(const QSet::iterator&) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:103: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'bool QSet::iterator::operator!=(const QSet::iterator&) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:104: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'bool QSet::iterator::operator==(const QSet::const_iterator&) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:106: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'bool QSet::iterator::operator!=(const QSet::const_iterator&) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:108: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator& QSet::iterator::operator++()': /Library/Frameworks/QtCore.framework/Headers/qset.h:109: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator QSet::iterator::operator++(int)': /Library/Frameworks/QtCore.framework/Headers/qset.h:110: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator& QSet::iterator::operator--()': /Library/Frameworks/QtCore.framework/Headers/qset.h:111: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator QSet::iterator::operator--(int)': /Library/Frameworks/QtCore.framework/Headers/qset.h:112: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator QSet::iterator::operator+(int) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:113: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator QSet::iterator::operator-(int) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:114: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator& QSet::iterator::operator+=(int)': /Library/Frameworks/QtCore.framework/Headers/qset.h:115: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator& QSet::iterator::operator-=(int)': /Library/Frameworks/QtCore.framework/Headers/qset.h:116: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In copy constructor 'QSet::const_iterator::const_iterator(const QSet::const_iterator&)': /Library/Frameworks/QtCore.framework/Headers/qset.h:133: error: class 'QSet::const_iterator' does not have any field named 'i' /Library/Frameworks/QtCore.framework/Headers/qset.h: In constructor 'QSet::const_iterator::const_iterator(const QSet::iterator&)': /Library/Frameworks/QtCore.framework/Headers/qset.h:135: error: class 'QSet::const_iterator' does not have any field named 'i' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator& QSet::const_iterator::operator=(const QSet::const_iterator&)': /Library/Frameworks/QtCore.framework/Headers/qset.h:136: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'const T& QSet::const_iterator::operator*() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:137: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'const T* QSet::const_iterator::operator->() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:138: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'bool QSet::const_iterator::operator==(const QSet::const_iterator&) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:139: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'bool QSet::const_iterator::operator!=(const QSet::const_iterator&) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:140: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator& QSet::const_iterator::operator++()': /Library/Frameworks/QtCore.framework/Headers/qset.h:141: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator QSet::const_iterator::operator++(int)': /Library/Frameworks/QtCore.framework/Headers/qset.h:142: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator& QSet::const_iterator::operator--()': /Library/Frameworks/QtCore.framework/Headers/qset.h:143: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator QSet::const_iterator::operator--(int)': /Library/Frameworks/QtCore.framework/Headers/qset.h:144: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator QSet::const_iterator::operator+(int) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:145: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator QSet::const_iterator::operator-(int) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:146: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator& QSet::const_iterator::operator+=(int)': /Library/Frameworks/QtCore.framework/Headers/qset.h:147: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator& QSet::const_iterator::operator-=(int)': /Library/Frameworks/QtCore.framework/Headers/qset.h:148: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator QSet::begin()': /Library/Frameworks/QtCore.framework/Headers/qset.h:152: error: request for member 'begin' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator QSet::begin() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:153: error: request for member 'begin' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator QSet::constBegin() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:154: error: request for member 'constBegin' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator QSet::end()': /Library/Frameworks/QtCore.framework/Headers/qset.h:155: error: request for member 'end' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator QSet::end() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:156: error: request for member 'end' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator QSet::constEnd() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:157: error: request for member 'constEnd' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator QSet::erase(QSet::iterator)': /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: request for member 'erase' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: expected nested-name-specifier before 'iterator' /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: expected `>' before '&' token /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: expected `(' before '&' token /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: expected primary-expression before '>' token /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'int QSet::count() const': /Library/Frameworks/QtCore.framework/Headers/qset.h:164: error: request for member 'count' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator QSet::insert(const T&)': /Library/Frameworks/QtCore.framework/Headers/qset.h:166: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:166: error: expected nested-name-specifier before 'const_iterator' /Library/Frameworks/QtCore.framework/Headers/qset.h:166: error: request for member 'insert' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:167: error: there are no arguments to 'QHashDummyValue' that depend on a template parameter, so a declaration of 'QHashDummyValue' must be available /Library/Frameworks/QtCore.framework/Headers/qset.h:167: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::iterator QSet::find(const T&)': /Library/Frameworks/QtCore.framework/Headers/qset.h:168: error: request for member 'find' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'QSet::const_iterator QSet::find(const T&) const': /Library/Frameworks/QtCore.framework/Headers/qset.h:169: error: request for member 'find' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h: In member function 'void QSet::reserve(int)': /Library/Frameworks/QtCore.framework/Headers/qset.h:228: error: request for member 'reserve' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp: At global scope: /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:13: error: prototype for 'HttpSession::HttpSession(QString*)' does not match any in class 'HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:12: error: candidates are: HttpSession::HttpSession(const HttpSession&) /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:12: error: HttpSession::HttpSession() /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp: In constructor 'HttpSession::HttpSession(QString*)': /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:16: error: 'http' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:18: error: expected `)' before ';' token /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp: At global scope: /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:21: error: ISO C++ forbids declaration of 'doHttpRequest' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:21: error: prototype for 'int HttpSession::doHttpRequest()' does not match any in class 'HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:16: error: candidate is: void HttpSession::doHttpRequest(int*) /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp: In member function 'int HttpSession::doHttpRequest()': /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:23: error: request for member 'url' in 'this', which is of non-class type 'HttpSession* const' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:29: error: expected `;' before 'file' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:33: error: expected `;' before 'QHttp' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:34: error: 'http' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:34: error: 'mode' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:37: error: 'httpGetId' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp: At global scope: /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:41: error: ISO C++ forbids declaration of 'httpRequestFinished' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:41: error: prototype for 'int HttpSession::httpRequestFinished(int, bool)' does not match any in class 'HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:17: error: candidate is: void HttpSession::httpRequestFinished(int, bool) /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:41: error: 'int HttpSession::httpRequestFinished(int, bool)' and 'void HttpSession::httpRequestFinished(int, bool)' cannot be overloaded /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:41: warning: unused parameter 'requestId' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:41: warning: unused parameter 'error' /Users/kedare/Documents/Developpement/QT/FileTest/FileTest.cpp: In function 'int main(int, char**)': /Users/kedare/Documents/Developpement/QT/FileTest/FileTest.cpp:12: error: no matching function for call to 'HttpSession::HttpSession(QString)' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:12: note: candidates are: HttpSession::HttpSession() /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:12: note: HttpSession::HttpSession(const HttpSession&) /Users/kedare/Documents/Developpement/QT/FileTest/FileTest.cpp:13: error: 'class HttpSession' has no member named 'doHttprequest' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp: In member function 'int HttpSession::doHttpRequest()': /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:38: warning: control reaches end of non-void function /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp: In member function 'int HttpSession::httpRequestFinished(int, bool)': /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:44: warning: control reaches end of non-void function /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:16: error: 'QURL' has not been declared /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:23: error: ISO C++ forbids declaration of 'QHttp' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:23: error: expected ';' before '*' token /Library/Frameworks/QtCore.framework/Headers/qhash.h:48: error: expected unqualified-id before string constant /Library/Frameworks/QtCore.framework/Headers/qset.h:51: error: 'QHashDummyValue' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:51: error: template argument 2 is invalid /Library/Frameworks/QtCore.framework/Headers/qset.h:87: error: 'QHashDummyValue' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:87: error: template argument 2 is invalid /Library/Frameworks/QtCore.framework/Headers/qset.h:88: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:88: error: expected nested-name-specifier before 'iterator' /Library/Frameworks/QtCore.framework/Headers/qset.h:88: error: expected ';' before 'i' /Library/Frameworks/QtCore.framework/Headers/qset.h:98: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:98: error: expected unqualified-id before 'typename' /Library/Frameworks/QtCore.framework/Headers/qset.h:98: error: expected `)' before 'typename' /Library/Frameworks/QtCore.framework/Headers/qset.h:121: error: 'QHashDummyValue' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:121: error: template argument 2 is invalid /Library/Frameworks/QtCore.framework/Headers/qset.h:122: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:122: error: expected nested-name-specifier before 'const_iterator' /Library/Frameworks/QtCore.framework/Headers/qset.h:122: error: expected ';' before 'i' /Library/Frameworks/QtCore.framework/Headers/qset.h:132: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:132: error: expected unqualified-id before 'typename' /Library/Frameworks/QtCore.framework/Headers/qset.h:132: error: expected `)' before 'typename' /Library/Frameworks/QtCore.framework/Headers/qset.h:65: error: request for member 'size' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h:67: error: request for member 'isEmpty' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h:69: error: request for member 'capacity' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h:71: error: request for member 'squeeze' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:73: error: request for member 'detach' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:74: error: request for member 'isDetached' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h:75: error: request for member 'setSharable' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:77: error: request for member 'clear' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:79: error: request for member 'remove' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:81: error: request for member 'contains' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h:99: error: class 'QSet::iterator' does not have any field named 'i' /Library/Frameworks/QtCore.framework/Headers/qset.h:100: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:101: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:102: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:103: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:104: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:106: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:108: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:109: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:110: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:111: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:112: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:113: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:114: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:115: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:116: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:133: error: class 'QSet::const_iterator' does not have any field named 'i' /Library/Frameworks/QtCore.framework/Headers/qset.h:135: error: class 'QSet::const_iterator' does not have any field named 'i' /Library/Frameworks/QtCore.framework/Headers/qset.h:136: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:137: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:138: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:139: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:140: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:141: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:142: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:143: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:144: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:145: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:146: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:147: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:148: error: 'i' was not declared in this scope /Library/Frameworks/QtCore.framework/Headers/qset.h:152: error: request for member 'begin' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:153: error: request for member 'begin' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h:154: error: request for member 'constBegin' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h:155: error: request for member 'end' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:156: error: request for member 'end' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h:157: error: request for member 'constEnd' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: request for member 'erase' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: expected nested-name-specifier before 'iterator' /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: expected `>' before '&' token /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: expected `(' before '&' token /Library/Frameworks/QtCore.framework/Headers/qset.h:159: error: expected primary-expression before '>' token /Library/Frameworks/QtCore.framework/Headers/qset.h:164: error: request for member 'count' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h:166: error: 'Hash' is not a class or namespace /Library/Frameworks/QtCore.framework/Headers/qset.h:166: error: expected nested-name-specifier before 'const_iterator' /Library/Frameworks/QtCore.framework/Headers/qset.h:166: error: request for member 'insert' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:167: error: there are no arguments to 'QHashDummyValue' that depend on a template parameter, so a declaration of 'QHashDummyValue' must be available /Library/Frameworks/QtCore.framework/Headers/qset.h:167: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /Library/Frameworks/QtCore.framework/Headers/qset.h:168: error: request for member 'find' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Library/Frameworks/QtCore.framework/Headers/qset.h:169: error: request for member 'find' in '((const QSet*)this)->QSet::q_hash', which is of non-class type 'const int' /Library/Frameworks/QtCore.framework/Headers/qset.h:228: error: request for member 'reserve' in '((QSet*)this)->QSet::q_hash', which is of non-class type 'int' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp: At global scope: /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:13: error: prototype for 'HttpSession::HttpSession(QString*)' does not match any in class 'HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:12: error: candidates are: HttpSession::HttpSession(const HttpSession&) /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:12: error: HttpSession::HttpSession() /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:16: error: 'http' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:18: error: expected `)' before ';' token /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp: At global scope: /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:21: error: ISO C++ forbids declaration of 'doHttpRequest' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:21: error: prototype for 'int HttpSession::doHttpRequest()' does not match any in class 'HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:16: error: candidate is: void HttpSession::doHttpRequest(int*) /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:23: error: request for member 'url' in 'this', which is of non-class type 'HttpSession* const' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:29: error: expected `;' before 'file' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:33: error: expected `;' before 'QHttp' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:34: error: 'http' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:34: error: 'mode' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:37: error: 'httpGetId' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp: At global scope: /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:41: error: ISO C++ forbids declaration of 'httpRequestFinished' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:41: error: prototype for 'int HttpSession::httpRequestFinished(int, bool)' does not match any in class 'HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:17: error: candidate is: void HttpSession::httpRequestFinished(int, bool) /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:41: error: 'int HttpSession::httpRequestFinished(int, bool)' and 'void HttpSession::httpRequestFinished(int, bool)' cannot be overloaded /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:41: warning: unused parameter 'requestId' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:41: warning: unused parameter 'error' /Users/kedare/Documents/Developpement/QT/FileTest/FileTest.cpp:12: error: no matching function for call to 'HttpSession::HttpSession(QString)' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:12: note: candidates are: HttpSession::HttpSession() /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:12: note: HttpSession::HttpSession(const HttpSession&) /Users/kedare/Documents/Developpement/QT/FileTest/FileTest.cpp:13: error: 'class HttpSession' has no member named 'doHttprequest' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:38: warning: control reaches end of non-void function /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.cpp:44: warning: control reaches end of non-void function cd /Users/kedare/Documents/Developpement/QT/FileTest /usr/bin/c++ -x c++ -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -fmessage-length=0 -fvisibility=hidden -fvisibility-inlines-hidden -I/Users/kedare/Documents/Developpement/QT/FileTest/build/FileTest.build/Debug/FileTest.build/FileTest.hmap -mdynamic-no-pic -F/Users/kedare/Documents/Developpement/QT/FileTest/build/Debug -I/Users/kedare/Documents/Developpement/QT/FileTest/build/Debug/include -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/usr/include -I. -I. -I. -I/usr/local/include -I/System/Library/Frameworks/CarbonCore.framework/Headers -I/usr/local/Qt4.3/mkspecs/macx-xcode -I/Users/kedare/Documents/Developpement/QT/FileTest/build/FileTest.build/Debug/FileTest.build/DerivedSources -pipe -g -Wall -W -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -c /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp -o /Users/kedare/Documents/Developpement/QT/FileTest/build/FileTest.build/Debug/FileTest.build/Objects-normal/i386/moc_httpsession.o /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:12:2: error: #error "The header file 'httpsession.h' doesn't include ." /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:12: error: expected class-name before '{' token /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:13: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:15: error: expected ';' before 'public' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:20: error: ISO C++ forbids declaration of 'QFile' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:20: error: expected ';' before '*' token /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:21: error: ISO C++ forbids declaration of 'QString' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:21: error: expected ';' before '*' token /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:22: error: ISO C++ forbids declaration of 'QString' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:22: error: expected ';' before '*' token /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:23: error: ISO C++ forbids declaration of 'QHttp' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:23: error: expected ';' before '*' token /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:19: error: expected initializer before 'qt_meta_data_HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:41: error: 'QMetaObject' does not name a type /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:46: error: expected initializer before '*' token /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:51: error: no 'void* HttpSession::qt_metacast(const char*)' member function declared in class 'HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp: In member function 'void* HttpSession::qt_metacast(const char*)': /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:54: error: 'strcmp' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:56: error: 'QObject' has not been declared /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp: At global scope: /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: 'QMetaObject' has not been declared /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: 'int HttpSession::qt_metacall' is not a static member of 'class HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: 'Call' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: expected primary-expression before 'int' /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: expected primary-expression before 'void' /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: initializer expression list treated as compound expression /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:60: error: expected ',' or ';' before '{' token /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:12:2: error: #error "The header file 'httpsession.h' doesn't include ." /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:12: error: expected class-name before '{' token /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:13: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:15: error: expected ';' before 'public' /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:20: error: ISO C++ forbids declaration of 'QFile' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:20: error: expected ';' before '*' token /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:21: error: ISO C++ forbids declaration of 'QString' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:21: error: expected ';' before '*' token /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:22: error: ISO C++ forbids declaration of 'QString' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:22: error: expected ';' before '*' token /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:23: error: ISO C++ forbids declaration of 'QHttp' with no type /Users/kedare/Documents/Developpement/QT/FileTest/httpsession.h:23: error: expected ';' before '*' token /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:19: error: expected initializer before 'qt_meta_data_HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:41: error: 'QMetaObject' does not name a type /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:46: error: expected initializer before '*' token /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:51: error: no 'void* HttpSession::qt_metacast(const char*)' member function declared in class 'HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:54: error: 'strcmp' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:56: error: 'QObject' has not been declared /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp: At global scope: /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: 'QMetaObject' has not been declared /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: 'int HttpSession::qt_metacall' is not a static member of 'class HttpSession' /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: 'Call' was not declared in this scope /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: expected primary-expression before 'int' /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: expected primary-expression before 'void' /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:59: error: initializer expression list treated as compound expression /Users/kedare/Documents/Developpement/QT/FileTest/moc_httpsession.cpp:60: error: expected ',' or ';' before '{' token Build failed (129 errors, 4 warnings)