g++ -Wall -I/opt/curl/include -I/opt/libxml/include/libxml2 htmltitle.cc -o htmltitle -L/opt/curl/lib -L/opt/libxml/lib -lcurl -lxml2
htmltitle.cc:17:3: warning: multi-line comment
htmltitle.cc:25:33: error: libxml/HTMLparser.h: No such file or directory
htmltitle.cc:135: error: expected , or ... before * token
htmltitle.cc:136: error: ISO C++ forbids declaration of xmlChar with no type
htmltitle.cc: In function void StartElement(void*, int):
htmltitle.cc:140: error: name was not declared in this scope
htmltitle.cc: At global scope:
htmltitle.cc:152: error: expected , or ... before * token
htmltitle.cc:152: error: ISO C++ forbids declaration of xmlChar with no type
htmltitle.cc: In function void EndElement(void*, int):
htmltitle.cc:156: error: name was not declared in this scope
htmltitle.cc: At global scope:
htmltitle.cc:165: error: expected , or ... before * token
htmltitle.cc:166: error: ISO C++ forbids declaration of xmlChar with no type
htmltitle.cc: In function void handleCharacters(Context*, int):
htmltitle.cc:169: error: chars was not declared in this scope
htmltitle.cc:169: error: length was not declared in this scope
htmltitle.cc: At global scope:
htmltitle.cc:177: error: expected , or ... before * token
htmltitle.cc:178: error: ISO C++ forbids declaration of xmlChar with no type
htmltitle.cc: In function void Characters(void*, int):
htmltitle.cc:182: error: chars was not declared in this scope
htmltitle.cc:182: error: length was not declared in this scope
htmltitle.cc: At global scope:
htmltitle.cc:190: error: expected , or ... before * token
htmltitle.cc:191: error: ISO C++ forbids declaration of xmlChar with no type
htmltitle.cc: In function void cdata(void*, int):
htmltitle.cc:195: error: chars was not declared in this scope
htmltitle.cc:195: error: length was not declared in this scope
htmltitle.cc: At global scope:
htmltitle.cc:202: error: htmlSAXHandler does not name a type
htmltitle.cc: In function void parseHtml(const std::string&, std::string&):
htmltitle.cc:240: error: htmlParserCtxtPtr was not declared in this scope
htmltitle.cc:240: error: expected `;' before ctxt
htmltitle.cc:243: error: ctxt was not declared in this scope
htmltitle.cc:243: error: saxHandler was not declared in this scope
htmltitle.cc:244: error: XML_CHAR_ENCODING_NONE was not declared in this scope
htmltitle.cc:244: error: htmlCreatePushParserCtxt was not declared in this scope
htmltitle.cc:246: error: htmlParseChunk was not declared in this scope
htmltitle.cc:249: error: htmlFreeParserCtxt was not declared in this s