[xmlio-discuss] compiling on OSX 10.5?
Brought to you by:
achimgaedke,
pipenb
From: Gordon R. <agr...@te...> - 2008-04-17 08:08:46
|
I am getting errors when I try to make xmlio-1.0.0 on OSX 10.5. The system is using: i686-apple-darwin9-g++-4.0.1 Can anyone help me resolve this? Thank you for your help. G -- Gordon Robertson Canada's Michael Smith Genome Sciences Centre Vancouver BC Canada ... Making all in basic c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O2 -c array_test.cpp In file included from /usr/include/c++/4.0.0/backward/strstream:51, from ../../include/xmlio/XMLIO_Document.h:14, from array_test.cpp:2: /usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno- deprecated. ../../include/xmlio/XMLIO_ArrayElement.h: In member function 'virtual void XMLIO_ArrayElement<T>::XMLIO_getCharacters(const std::string&)': ../../include/xmlio/XMLIO_ArrayElement.h:61: error: 'cerr' was not declared in this scope ../../include/xmlio/XMLIO_ArrayElement.h:62: error: 'endl' was not declared in this scope ../../include/xmlio/XMLIO_ArrayElement.h: In member function 'virtual const int XMLIO_ArrayElement<T>::XMLIO_writeContent(XMLIO_Document&)': ../../include/xmlio/XMLIO_ArrayElement.h:76: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available ../../include/xmlio/XMLIO_ArrayElement.h:76: error: (if you use '- fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../../include/xmlio/XMLIO_ArrayElement.h:76: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available ../../include/xmlio/XMLIO_ArrayElement.h:77: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available ../../include/xmlio/XMLIO_ArrayElement.h:80: error: 'ends' was not declared in this scope ../../include/xmlio/XMLIO_ArrayElement.h: In member function 'virtual void XMLIO_ElementArrayElement<E>::print() const': ../../include/xmlio/XMLIO_ArrayElement.h:138: error: 'cout' was not declared in this scope ../../include/xmlio/XMLIO_ArrayElement.h:138: error: 'endl' was not declared in this scope ../../include/xmlio/XMLIO_ArrayElement.h:139: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available ../../include/xmlio/XMLIO_ArrayElement.h:139: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available ../../include/xmlio/XMLIO_ArrayElement.h: In member function 'virtual bool XMLIO_ElementArrayElement<E>::XMLIO_isEmpty() const': ../../include/xmlio/XMLIO_ArrayElement.h:145: error: there are no arguments to 'empty' that depend on a template parameter, so a declaration of 'empty' must be available ../../include/xmlio/XMLIO_ArrayElement.h: In member function 'virtual const int XMLIO_ElementArrayElement<E>::XMLIO_writeContent(XMLIO_Document&)': ../../include/xmlio/XMLIO_ArrayElement.h:156: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available ../../include/xmlio/XMLIO_ArrayElement.h:156: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available ../../include/xmlio/XMLIO_ArrayElement.h: In destructor 'XMLIO_ElementArrayElement<E>::~XMLIO_ElementArrayElement()': ../../include/xmlio/XMLIO_ArrayElement.h:172: error: there are no arguments to 'empty' that depend on a template parameter, so a declaration of 'empty' must be available ../../include/xmlio/XMLIO_ArrayElement.h:174: error: there are no arguments to 'back' that depend on a template parameter, so a declaration of 'back' must be available ../../include/xmlio/XMLIO_ArrayElement.h:174: error: there are no arguments to 'back' that depend on a template parameter, so a declaration of 'back' must be available ../../include/xmlio/XMLIO_ArrayElement.h:174: error: there are no arguments to 'back' that depend on a template parameter, so a declaration of 'back' must be available ../../include/xmlio/XMLIO_ArrayElement.h:175: error: there are no arguments to 'pop_back' that depend on a template parameter, so a declaration of 'pop_back' must be available ../../include/xmlio/XMLIO_ArrayElement.h: In destructor 'XMLIO_ContentElementArrayElement<C, E>::~XMLIO_ContentElementArrayElement()': ../../include/xmlio/XMLIO_ArrayElement.h:234: error: there are no arguments to 'empty' that depend on a template parameter, so a declaration of 'empty' must be available ../../include/xmlio/XMLIO_ArrayElement.h:235: error: there are no arguments to 'back' that depend on a template parameter, so a declaration of 'back' must be available ../../include/xmlio/XMLIO_ArrayElement.h:235: error: there are no arguments to 'back' that depend on a template parameter, so a declaration of 'back' must be available ../../include/xmlio/XMLIO_ArrayElement.h:235: error: there are no arguments to 'back' that depend on a template parameter, so a declaration of 'back' must be available ../../include/xmlio/XMLIO_ArrayElement.h:236: error: there are no arguments to 'back' that depend on a template parameter, so a declaration of 'back' must be available ../../include/xmlio/XMLIO_ArrayElement.h:236: error: there are no arguments to 'back' that depend on a template parameter, so a declaration of 'back' must be available ../../include/xmlio/XMLIO_ArrayElement.h:236: error: there are no arguments to 'back' that depend on a template parameter, so a declaration of 'back' must be available ../../include/xmlio/XMLIO_ArrayElement.h:237: error: there are no arguments to 'pop_back' that depend on a template parameter, so a declaration of 'pop_back' must be available ../../include/xmlio/XMLIO_ArrayElement.h: In member function 'virtual void XMLIO_ContentElementArrayElement<C, E>::print() const': ../../include/xmlio/XMLIO_ArrayElement.h:285: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available ../../include/xmlio/XMLIO_ArrayElement.h:287: error: 'cout' was not declared in this scope ../../include/xmlio/XMLIO_ArrayElement.h:287: error: 'endl' was not declared in this scope ../../include/xmlio/XMLIO_ArrayElement.h:288: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available ../../include/xmlio/XMLIO_ArrayElement.h: In member function 'virtual const int XMLIO_ContentElementArrayElement<C, E>::XMLIO_writeContent(XMLIO_Document&)': ../../include/xmlio/XMLIO_ArrayElement.h:311: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available ../../include/xmlio/XMLIO_ArrayElement.h:311: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available ../../include/xmlio/XMLIO_ArrayElement.h:316: error: 'ends' was not declared in this scope ../../include/xmlio/XMLIO_ArrayElement.h:335: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available ../../include/xmlio/XMLIO_ArrayElement.h: In member function 'void XMLIO_ContentElementArrayElement<C, E>::evaluate_content()': ../../include/xmlio/XMLIO_ArrayElement.h:368: error: 'cerr' was not declared in this scope ../../include/xmlio/XMLIO_ArrayElement.h:368: error: 'endl' was not declared in this scope ../../include/xmlio/XMLIO_ArrayElement.h: In member function 'virtual void XMLIO_ArrayElement<T>::print() const': ../../include/xmlio/XMLIO_ArrayElement.h:385: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available ../../include/xmlio/XMLIO_ArrayElement.h:386: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available ../../include/xmlio/XMLIO_ArrayElement.h:386: error: 'cout' was not declared in this scope ../../include/xmlio/XMLIO_ArrayElement.h:386: error: 'endl' was not declared in this scope make[3]: *** [array_test.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 grobertson:xmlio-1.0.0 grobertson$ |