trouble compiling irrXML with my app

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
trevis
Posts: 1
Joined: Fri Jan 26, 2007 6:38 pm

trouble compiling irrXML with my app

Post by trevis »

I've included irrXml.h in my app, and included the irrXML.o object as well. When I compile with eclipse on my gentoo box, I get:

Code: Select all

./include/CXMLReaderImpl.h: In constructor 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = char, superclass = irr::io::IXMLBase]':
irrXML.cpp:86:   instantiated from here
./include/CXMLReaderImpl.h:776: warning: 'irr::io::CXMLReaderImpl<char, irr::io::IXMLBase>::TextSize' will be initialized after
./include/CXMLReaderImpl.h:775: warning:   'char* irr::io::CXMLReaderImpl<char, irr::io::IXMLBase>::TextBegin'
./include/CXMLReaderImpl.h:33: warning:   when initialized here
./include/CXMLReaderImpl.h: In constructor 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]':
irrXML.cpp:107:   instantiated from here
./include/CXMLReaderImpl.h:776: warning: 'irr::io::CXMLReaderImpl<irr::io::char16, irr::io::IXMLBase>::TextSize' will be initialized after
./include/CXMLReaderImpl.h:775: warning:   'irr::io::char16* irr::io::CXMLReaderImpl<irr::io::char16, irr::io::IXMLBase>::TextBegin'
./include/CXMLReaderImpl.h:33: warning:   when initialized here
./include/CXMLReaderImpl.h: In constructor 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]':
irrXML.cpp:128:   instantiated from here
./include/CXMLReaderImpl.h:776: warning: 'irr::io::CXMLReaderImpl<irr::io::char32, irr::io::IXMLBase>::TextSize' will be initialized after
./include/CXMLReaderImpl.h:775: warning:   'irr::io::char32* irr::io::CXMLReaderImpl<irr::io::char32, irr::io::IXMLBase>::TextBegin'
./include/CXMLReaderImpl.h:33: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string() [with T = irr::c8]':
./include/CXMLReaderImpl.h:35:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = char, superclass = irr::io::IXMLBase]'
irrXML.cpp:86:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::c8>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::c8* irr::core::string<irr::c8>::array'
./include/irrString.h:31: warning:   when initialized here
./include/irrArray.h: In constructor 'irr::core::array<T>::array() [with T = irr::core::string<irr::c8>]':
./include/CXMLReaderImpl.h:35:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = char, superclass = irr::io::IXMLBase]'
irrXML.cpp:86:   instantiated from here
./include/irrArray.h:432: warning: 'irr::core::array<irr::core::string<irr::c8> >::used' will be initialized after
./include/irrArray.h:431: warning:   'irr::u32 irr::core::array<irr::core::string<irr::c8> >::allocated'
./include/irrArray.h:25: warning:   when initialized here
./include/irrArray.h: In constructor 'irr::core::array<T>::array() [with T = irr::io::CXMLReaderImpl<char, irr::io::IXMLBase>::SAttribute]':
./include/CXMLReaderImpl.h:35:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = char, superclass = irr::io::IXMLBase]'
irrXML.cpp:86:   instantiated from here
./include/irrArray.h:432: warning: 'irr::core::array<irr::io::CXMLReaderImpl<char, irr::io::IXMLBase>::SAttribute>::used' will be initialized after
./include/irrArray.h:431: warning:   'irr::u32 irr::core::array<irr::io::CXMLReaderImpl<char, irr::io::IXMLBase>::SAttribute>::allocated'
./include/irrArray.h:25: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string() [with T = irr::io::char16]':
./include/CXMLReaderImpl.h:35:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
irrXML.cpp:107:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::io::char16>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::io::char16* irr::core::string<irr::io::char16>::array'
./include/irrString.h:31: warning:   when initialized here
./include/irrArray.h: In constructor 'irr::core::array<T>::array() [with T = irr::core::string<irr::io::char16>]':
./include/CXMLReaderImpl.h:35:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
irrXML.cpp:107:   instantiated from here
./include/irrArray.h:432: warning: 'irr::core::array<irr::core::string<irr::io::char16> >::used' will be initialized after
./include/irrArray.h:431: warning:   'irr::u32 irr::core::array<irr::core::string<irr::io::char16> >::allocated'
./include/irrArray.h:25: warning:   when initialized here
./include/irrArray.h: In constructor 'irr::core::array<T>::array() [with T = irr::io::CXMLReaderImpl<irr::io::char16, irr::io::IXMLBase>::SAttribute]':
./include/CXMLReaderImpl.h:35:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
irrXML.cpp:107:   instantiated from here
./include/irrArray.h:432: warning: 'irr::core::array<irr::io::CXMLReaderImpl<irr::io::char16, irr::io::IXMLBase>::SAttribute>::used' will be initialized after
./include/irrArray.h:431: warning:   'irr::u32 irr::core::array<irr::io::CXMLReaderImpl<irr::io::char16, irr::io::IXMLBase>::SAttribute>::allocated'
./include/irrArray.h:25: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string() [with T = irr::io::char32]':
./include/CXMLReaderImpl.h:35:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
irrXML.cpp:128:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::io::char32>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::io::char32* irr::core::string<irr::io::char32>::array'
./include/irrString.h:31: warning:   when initialized here
./include/irrArray.h: In constructor 'irr::core::array<T>::array() [with T = irr::core::string<irr::io::char32>]':
./include/CXMLReaderImpl.h:35:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
irrXML.cpp:128:   instantiated from here
./include/irrArray.h:432: warning: 'irr::core::array<irr::core::string<irr::io::char32> >::used' will be initialized after
./include/irrArray.h:431: warning:   'irr::u32 irr::core::array<irr::core::string<irr::io::char32> >::allocated'
./include/irrArray.h:25: warning:   when initialized here
./include/irrArray.h: In constructor 'irr::core::array<T>::array() [with T = irr::io::CXMLReaderImpl<irr::io::char32, irr::io::IXMLBase>::SAttribute]':
./include/CXMLReaderImpl.h:35:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
irrXML.cpp:128:   instantiated from here
./include/irrArray.h:432: warning: 'irr::core::array<irr::io::CXMLReaderImpl<irr::io::char32, irr::io::IXMLBase>::SAttribute>::used' will be initialized after
./include/irrArray.h:431: warning:   'irr::u32 irr::core::array<irr::io::CXMLReaderImpl<irr::io::char32, irr::io::IXMLBase>::SAttribute>::allocated'
./include/irrArray.h:25: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string(const B*) [with B = char, T = irr::c8]':
./include/CXMLReaderImpl.h:725:   instantiated from 'void irr::io::CXMLReaderImpl<char_type, superclass>::createSpecialCharacterList() [with char_type = char, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:53:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = char, superclass = irr::io::IXMLBase]'
irrXML.cpp:86:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::c8>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::c8* irr::core::string<irr::c8>::array'
./include/irrString.h:119: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string(const B*) [with B = char, T = irr::io::char16]':
./include/CXMLReaderImpl.h:725:   instantiated from 'void irr::io::CXMLReaderImpl<char_type, superclass>::createSpecialCharacterList() [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:53:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
irrXML.cpp:107:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::io::char16>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::io::char16* irr::core::string<irr::io::char16>::array'
./include/irrString.h:119: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string(const B*) [with B = char, T = irr::io::char32]':
./include/CXMLReaderImpl.h:725:   instantiated from 'void irr::io::CXMLReaderImpl<char_type, superclass>::createSpecialCharacterList() [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:53:   instantiated from 'irr::io::CXMLReaderImpl<char_type, superclass>::CXMLReaderImpl(irr::io::IFileReadCallBack*, bool) [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
irrXML.cpp:128:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::io::char32>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::io::char32* irr::core::string<irr::io::char32>::array'
./include/irrString.h:119: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string(const B*) [with B = irr::io::char32, T = irr::c8]':
./include/CXMLReaderImpl.h:161:   instantiated from 'float irr::io::CXMLReaderImpl<char_type, superclass>::getAttributeValueAsFloat(const char_type*) const [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
irrXML.cpp:146:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::c8>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::c8* irr::core::string<irr::c8>::array'
./include/irrString.h:119: warning:   when initialized here
./include/irrString.h: In copy constructor 'irr::core::string<T>::string(const irr::core::string<T>&) [with T = irr::c8]':
./include/CXMLReaderImpl.h:161:   instantiated from 'float irr::io::CXMLReaderImpl<char_type, superclass>::getAttributeValueAsFloat(const char_type*) const [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
irrXML.cpp:146:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::c8>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::c8* irr::core::string<irr::c8>::array'
./include/irrString.h:41: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string(const B*) [with B = irr::io::char16, T = irr::c8]':
./include/CXMLReaderImpl.h:161:   instantiated from 'float irr::io::CXMLReaderImpl<char_type, superclass>::getAttributeValueAsFloat(const char_type*) const [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
irrXML.cpp:146:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::c8>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::c8* irr::core::string<irr::c8>::array'
./include/irrString.h:119: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string(const B*) [with B = irr::io::char32, T = irr::io::char32]':
./include/CXMLReaderImpl.h:488:   instantiated from 'const irr::io::CXMLReaderImpl<char_type, superclass>::SAttribute* irr::io::CXMLReaderImpl<char_type, superclass>::getAttributeByName(const char_type*) const [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:120:   instantiated from 'const char_type* irr::io::CXMLReaderImpl<char_type, superclass>::getAttributeValue(const char_type*) const [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
irrXML.cpp:146:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::io::char32>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::io::char32* irr::core::string<irr::io::char32>::array'
./include/irrString.h:119: warning:   when initialized here
./include/irrString.h: In copy constructor 'irr::core::string<T>::string(const irr::core::string<T>&) [with T = irr::io::char32]':
./include/CXMLReaderImpl.h:488:   instantiated from 'const irr::io::CXMLReaderImpl<char_type, superclass>::SAttribute* irr::io::CXMLReaderImpl<char_type, superclass>::getAttributeByName(const char_type*) const [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:120:   instantiated from 'const char_type* irr::io::CXMLReaderImpl<char_type, superclass>::getAttributeValue(const char_type*) const [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
irrXML.cpp:146:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::io::char32>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::io::char32* irr::core::string<irr::io::char32>::array'
./include/irrString.h:41: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string(const B*) [with B = irr::io::char16, T = irr::io::char16]':
./include/CXMLReaderImpl.h:488:   instantiated from 'const irr::io::CXMLReaderImpl<char_type, superclass>::SAttribute* irr::io::CXMLReaderImpl<char_type, superclass>::getAttributeByName(const char_type*) const [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:120:   instantiated from 'const char_type* irr::io::CXMLReaderImpl<char_type, superclass>::getAttributeValue(const char_type*) const [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
irrXML.cpp:146:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::io::char16>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::io::char16* irr::core::string<irr::io::char16>::array'
./include/irrString.h:119: warning:   when initialized here
./include/irrString.h: In copy constructor 'irr::core::string<T>::string(const irr::core::string<T>&) [with T = irr::io::char16]':
./include/CXMLReaderImpl.h:488:   instantiated from 'const irr::io::CXMLReaderImpl<char_type, superclass>::SAttribute* irr::io::CXMLReaderImpl<char_type, superclass>::getAttributeByName(const char_type*) const [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:120:   instantiated from 'const char_type* irr::io::CXMLReaderImpl<char_type, superclass>::getAttributeValue(const char_type*) const [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
irrXML.cpp:146:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::io::char16>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::io::char16* irr::core::string<irr::io::char16>::array'
./include/irrString.h:41: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string(const B*, irr::s32) [with B = irr::io::char32, T = irr::io::char32]':
./include/CXMLReaderImpl.h:270:   instantiated from 'bool irr::io::CXMLReaderImpl<char_type, superclass>::setText(char_type*, char_type*) [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:227:   instantiated from 'void irr::io::CXMLReaderImpl<char_type, superclass>::parseCurrentNode() [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:74:   instantiated from 'bool irr::io::CXMLReaderImpl<char_type, superclass>::read() [with char_type = irr::io::char32, superclass = irr::io::IXMLBase]'
irrXML.cpp:146:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::io::char32>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::io::char32* irr::core::string<irr::io::char32>::array'
./include/irrString.h:100: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string(const B*, irr::s32) [with B = irr::io::char16, T = irr::io::char16]':
./include/CXMLReaderImpl.h:270:   instantiated from 'bool irr::io::CXMLReaderImpl<char_type, superclass>::setText(char_type*, char_type*) [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:227:   instantiated from 'void irr::io::CXMLReaderImpl<char_type, superclass>::parseCurrentNode() [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:74:   instantiated from 'bool irr::io::CXMLReaderImpl<char_type, superclass>::read() [with char_type = irr::io::char16, superclass = irr::io::IXMLBase]'
irrXML.cpp:146:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::io::char16>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::io::char16* irr::core::string<irr::io::char16>::array'
./include/irrString.h:100: warning:   when initialized here
./include/irrString.h: In constructor 'irr::core::string<T>::string(const B*, irr::s32) [with B = char, T = irr::c8]':
./include/CXMLReaderImpl.h:270:   instantiated from 'bool irr::io::CXMLReaderImpl<char_type, superclass>::setText(char_type*, char_type*) [with char_type = char, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:227:   instantiated from 'void irr::io::CXMLReaderImpl<char_type, superclass>::parseCurrentNode() [with char_type = char, superclass = irr::io::IXMLBase]'
./include/CXMLReaderImpl.h:74:   instantiated from 'bool irr::io::CXMLReaderImpl<char_type, superclass>::read() [with char_type = char, superclass = irr::io::IXMLBase]'
irrXML.cpp:146:   instantiated from here
./include/irrString.h:650: warning: 'irr::core::string<irr::c8>::used' will be initialized after
./include/irrString.h:648: warning:   'irr::c8* irr::core::string<irr::c8>::array'
./include/irrString.h:100: warning:   when initialized here
Any Ideas?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

These are just warnings, so don't care.
Post Reply