Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 11th, 2012  |  syntax: None  |  size: 1.86 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to run program written for old compiler?
  2. g++  -c  Node.C
  3. g++  -c  DataNode.C
  4. In file included from DataNode.h:18,
  5.                  from DataNode.C:17:
  6. Query.h:9:20: error: vector.h: No such file or directory
  7. Query.h:10:19: error: stack.h: No such file or directory
  8. Query.h:13:22: error: function.h: No such file or directory
  9. Query.h:14:22: error: iostream.h: No such file or directory
  10. DataNode.C:283:8: warning: extra tokens at end of #endif directive
  11. In file included from DataNode.h:18,
  12.                  from DataNode.C:17:
  13. Query.h:29: warning: ‘typedef’ was ignored in this declaration
  14. Query.h:44: warning: ‘typedef’ was ignored in this declaration
  15. Query.h:86: error: expected initializer before ‘<’ token
  16. Query.h:118: error: ISO C++ forbids declaration of ‘PQ’ with no type
  17. Query.h:118: error: expected ‘;’ before ‘*’ token
  18. Query.h:122: error: ISO C++ forbids declaration of ‘PQ’ with no type
  19. Query.h:122: error: expected ‘;’ before ‘*’ token
  20. Query.h:126: error: ISO C++ forbids declaration of ‘PQ’ with no type
  21. Query.h:126: error: expected ‘;’ before ‘*’ token
  22. Query.h:135: error: expected initializer before ‘<’ token
  23. DataNode.C: In member function ‘void DataNode::DisconnectBranch(int)’:
  24. DataNode.C:80: error: ‘memmove’ was not declared in this scope
  25. make: *** [DataNode.o] Error 1
  26.        
  27. /usr/local/gcc-2.8.1/bin/gcc  -c  DataNode.C
  28. In file included from DataNode.h:18,
  29.                  from DataNode.C:17:
  30. Query.h:9: vector.h: No such file or directory
  31. Query.h:10: stack.h: No such file or directory
  32. Query.h:11: deque: No such file or directory
  33. Query.h:12: algorithm: No such file or directory
  34. Query.h:13: function.h: No such file or directory
  35. Query.h:14: iostream.h: No such file or directory
  36. make: *** [DataNode.o] Error 1
  37.        
  38. #include <vector>
  39. #include <iostream>
  40. #include <stack>
  41. ...
  42.  
  43. using std::vector;
  44. using std::fstream;
  45. ...