- How to run program written for old compiler?
- g++ -c Node.C
- g++ -c DataNode.C
- In file included from DataNode.h:18,
- from DataNode.C:17:
- Query.h:9:20: error: vector.h: No such file or directory
- Query.h:10:19: error: stack.h: No such file or directory
- Query.h:13:22: error: function.h: No such file or directory
- Query.h:14:22: error: iostream.h: No such file or directory
- DataNode.C:283:8: warning: extra tokens at end of #endif directive
- In file included from DataNode.h:18,
- from DataNode.C:17:
- Query.h:29: warning: ‘typedef’ was ignored in this declaration
- Query.h:44: warning: ‘typedef’ was ignored in this declaration
- Query.h:86: error: expected initializer before ‘<’ token
- Query.h:118: error: ISO C++ forbids declaration of ‘PQ’ with no type
- Query.h:118: error: expected ‘;’ before ‘*’ token
- Query.h:122: error: ISO C++ forbids declaration of ‘PQ’ with no type
- Query.h:122: error: expected ‘;’ before ‘*’ token
- Query.h:126: error: ISO C++ forbids declaration of ‘PQ’ with no type
- Query.h:126: error: expected ‘;’ before ‘*’ token
- Query.h:135: error: expected initializer before ‘<’ token
- DataNode.C: In member function ‘void DataNode::DisconnectBranch(int)’:
- DataNode.C:80: error: ‘memmove’ was not declared in this scope
- make: *** [DataNode.o] Error 1
- /usr/local/gcc-2.8.1/bin/gcc -c DataNode.C
- In file included from DataNode.h:18,
- from DataNode.C:17:
- Query.h:9: vector.h: No such file or directory
- Query.h:10: stack.h: No such file or directory
- Query.h:11: deque: No such file or directory
- Query.h:12: algorithm: No such file or directory
- Query.h:13: function.h: No such file or directory
- Query.h:14: iostream.h: No such file or directory
- make: *** [DataNode.o] Error 1
- #include <vector>
- #include <iostream>
- #include <stack>
- ...
- using std::vector;
- using std::fstream;
- ...