Advertisement
triclops200

Untitled

Jul 10th, 2012
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.81 KB | None | 0 0
  1. scons: Reading SConscript files ...
  2. scons: done reading SConscript files.
  3. scons: Building targets ...
  4. g++ -o src/main.o -c -O3 -march=native -Isrc -Iinclude src/main.cpp
  5. In file included from src/main.cpp:1:0:
  6. include/cell.hpp: In member function 'void Cell<T>::SetType(unsigned char) [with TT = Cell<int>, T = int]':
  7. include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
  8. include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
  9. src/main.cpp:5:32: instantiated from here
  10. include/cell.hpp:48:36: error: invalid conversion from 'Cell<Cell<int> >*' to 'unsigned char'
  11. include/cell.hpp:48:36: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
  12. include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
  13. include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
  14. src/main.cpp:5:32: instantiated from here
  15. include/cell.hpp:49:18: error: invalid conversion from 'Cell<int>* const' to 'unsigned char'
  16. include/cell.hpp:49:18: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
  17. include/cell.hpp:50:4: error: type 'class Cell<int>' argument given to 'delete', expected pointer
  18. include/cell.hpp:51:4: error: lvalue required as left operand of assignment
  19. include/cell.hpp: In member function 'void Cell<T>::SetType(unsigned char) [with TT = int, T = int]':
  20. include/cell.hpp:38:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
  21. include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
  22. src/main.cpp:5:32: instantiated from here
  23. include/cell.hpp:48:36: error: invalid conversion from 'Cell<int>*' to 'unsigned char'
  24. include/cell.hpp:48:36: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
  25. include/cell.hpp:49:18: error: invalid conversion from 'Cell<int>* const' to 'unsigned char'
  26. include/cell.hpp:49:18: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
  27. include/cell.hpp:50:4: error: type 'class Cell<int>' argument given to 'delete', expected pointer
  28. include/cell.hpp:51:4: error: lvalue required as left operand of assignment
  29. In file included from include/cell.hpp:4:0,
  30. from src/main.cpp:1:
  31. include/value.hpp: In constructor 'Value<T>::Value() [with T = Cell<int>]':
  32. include/cell.hpp:18:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
  33. include/cell.hpp:48:36: instantiated from 'void Cell<T>::SetType(unsigned char) [with TT = Cell<int>, T = int]'
  34. include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
  35. include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
  36. src/main.cpp:5:32: instantiated from here
  37. include/value.hpp:7:10: error: no matching function for call to 'Cell<int>::Cell()'
  38. include/cell.hpp:12:3: note: candidates are: Cell<T>::Cell(unsigned char, bool) [with T = int]
  39. include/cell.hpp:7:1: note: Cell<int>::Cell(const Cell<int>&)
  40. In file included from src/main.cpp:1:0:
  41. include/cell.hpp: In member function 'void Cell<T>::SetType(unsigned char) [with TT = Cell<int>, T = Cell<int>]':
  42. include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = Cell<int>]'
  43. include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
  44. include/cell.hpp:48:36: instantiated from 'void Cell<T>::SetType(unsigned char) [with TT = Cell<int>, T = int]'
  45. include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
  46. include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
  47. src/main.cpp:5:32: instantiated from here
  48. include/cell.hpp:48:36: error: invalid conversion from 'Cell<Cell<int> >*' to 'unsigned char'
  49. include/cell.hpp:48:36: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
  50. include/cell.hpp:49:18: error: invalid conversion from 'Cell<Cell<int> >* const' to 'unsigned char'
  51. include/cell.hpp:49:18: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
  52. include/cell.hpp:50:4: error: type 'class Cell<Cell<int> >' argument given to 'delete', expected pointer
  53. include/cell.hpp:51:4: error: lvalue required as left operand of assignment
  54. include/cell.hpp: In member function 'void Cell<T>::SetType(unsigned char) [with TT = int, T = Cell<int>]':
  55. include/cell.hpp:38:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = Cell<int>]'
  56. include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
  57. include/cell.hpp:48:36: instantiated from 'void Cell<T>::SetType(unsigned char) [with TT = Cell<int>, T = int]'
  58. include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
  59. include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
  60. src/main.cpp:5:32: instantiated from here
  61. include/cell.hpp:48:36: error: invalid conversion from 'Cell<int>*' to 'unsigned char'
  62. include/cell.hpp:48:36: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
  63. include/cell.hpp:49:18: error: invalid conversion from 'Cell<Cell<int> >* const' to 'unsigned char'
  64. include/cell.hpp:49:18: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
  65. include/cell.hpp:50:4: error: type 'class Cell<Cell<int> >' argument given to 'delete', expected pointer
  66. include/cell.hpp:51:4: error: lvalue required as left operand of assignment
  67. scons: *** [src/main.o] Error 1
  68. scons: building terminated because of errors.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement