Erreur à la compilation de l'objet Texte

Bonjour 4ian,

je n’arrive pas à compiler l’objet Texte, pourtant toutes les includes et les linkers sont correct…
Voilà, l’erreur se produit dès la compilation des fichiers tinyXML de l’extension Objet Texte. :frowning:

||=== TextObject, Release ===| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp||In member function 'virtual void TiXmlElement::Print(FILE*, int) const':| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|797|error: 'class TiXmlNode' has no member named 'Totextarea'| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|809|error: 'class TiXmlNode' has no member named 'Totextarea'| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|871|error: no 'const char* TiXmlElement::Gettextarea() const' member function declared in class 'TiXmlElement'| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1335|error: 'TiXmltextarea' has not been declared| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1335|error: non-member function 'void Print(FILE*, int)' cannot have cv-qualifier| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp||In function 'void Print(FILE*, int)':| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1338|error: 'cdata' was not declared in this scope| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1345|error: 'value' was not declared in this scope| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1350|error: 'value' was not declared in this scope| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1350|error: 'EncodeString' was not declared in this scope| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1356|error: 'TiXmltextarea' has not been declared| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1356|error: variable or field 'CopyTo' declared void| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1356|error: 'TiXmltextarea' was not declared in this scope| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1356|error: 'target' was not declared in this scope| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1363|error: 'TiXmltextarea' has not been declared| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1363|error: non-member function 'bool Accept(TiXmlVisitor*)' cannot have cv-qualifier| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp||In function 'bool Accept(TiXmlVisitor*)':| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1365|error: invalid use of 'this' in non-member function| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1369|error: 'TiXmltextarea' has not been declared| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1369|error: non-member function 'TiXmlNode* Clone()' cannot have cv-qualifier| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp||In function 'TiXmlNode* Clone()':| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1371|error: 'TiXmltextarea' was not declared in this scope| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1371|error: 'clone' was not declared in this scope| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1372|error: expected type-specifier before 'TiXmltextarea'| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1372|error: expected ';' before 'TiXmltextarea'| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1377|error: 'CopyTo' was not declared in this scope| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp||In member function 'virtual bool TiXmlPrinter::VisitEnter(const TiXmlElement&, const TiXmlAttribute*)':| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1788|error: 'const class TiXmlNode' has no member named 'Totextarea'| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1790|error: 'const class TiXmlNode' has no member named 'Totextarea'| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1792|error: 'simpletextareaPrint' was not declared in this scope| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp||In member function 'virtual bool TiXmlPrinter::VisitExit(const TiXmlElement&)':| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1814|error: 'simpletextareaPrint' was not declared in this scope| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1831|error: 'TiXmltextarea' does not name a type| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1831|error: ISO C++ forbids declaration of 'textarea' with no type| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1831|error: prototype for 'bool TiXmlPrinter::Visit(const int&)' does not match any in class 'TiXmlPrinter'| ..\..\GDL\GDL\tinyxml.h|1748|error: candidates are: virtual bool TiXmlPrinter::Visit(const TiXmlUnknown&)| ..\..\GDL\GDL\tinyxml.h|1747|error: virtual bool TiXmlPrinter::Visit(const TiXmlComment&)| ..\..\GDL\GDL\tinyxml.h|1746|error: virtual bool TiXmlPrinter::Visit(const TiXmlText&)| ..\..\GDL\GDL\tinyxml.h|1745|error: virtual bool TiXmlPrinter::Visit(const TiXmlDeclaration&)| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp||In function 'TiXmlNode* Clone()':| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1379|warning: control reaches end of non-void function| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp||In function 'bool Accept(TiXmlVisitor*)':| veloppement\GD SDK\SDK\GDL\GDL\tinyxml.cpp|1366|warning: control reaches end of non-void function| ||=== Build finished: 34 errors, 2 warnings ===|

Je sais pas ce que c’est, mais y a pas de ça dans mon fichier tinxml.cpp.

Ah, euh, j’avais fait un rechercher/remplacer dans les fichiers depuis Code::block, c’est sûrement ça qui m’a modifié les méthodes, je retélécharge le SDK.