Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scons: Reading SConscript files ...
- scons: done reading SConscript files.
- scons: Building targets ...
- g++ -o src/main.o -c -O3 -march=native -Isrc -Iinclude src/main.cpp
- In file included from src/main.cpp:1:0:
- include/cell.hpp: In member function 'void Cell<T>::SetType(unsigned char) [with TT = Cell<int>, T = int]':
- include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
- include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
- src/main.cpp:5:32: instantiated from here
- include/cell.hpp:48:36: error: invalid conversion from 'Cell<Cell<int> >*' to 'unsigned char'
- include/cell.hpp:48:36: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
- include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
- include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
- src/main.cpp:5:32: instantiated from here
- include/cell.hpp:49:18: error: invalid conversion from 'Cell<int>* const' to 'unsigned char'
- include/cell.hpp:49:18: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
- include/cell.hpp:50:4: error: type 'class Cell<int>' argument given to 'delete', expected pointer
- include/cell.hpp:51:4: error: lvalue required as left operand of assignment
- include/cell.hpp: In member function 'void Cell<T>::SetType(unsigned char) [with TT = int, T = int]':
- include/cell.hpp:38:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
- include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
- src/main.cpp:5:32: instantiated from here
- include/cell.hpp:48:36: error: invalid conversion from 'Cell<int>*' to 'unsigned char'
- include/cell.hpp:48:36: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
- include/cell.hpp:49:18: error: invalid conversion from 'Cell<int>* const' to 'unsigned char'
- include/cell.hpp:49:18: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
- include/cell.hpp:50:4: error: type 'class Cell<int>' argument given to 'delete', expected pointer
- include/cell.hpp:51:4: error: lvalue required as left operand of assignment
- In file included from include/cell.hpp:4:0,
- from src/main.cpp:1:
- include/value.hpp: In constructor 'Value<T>::Value() [with T = Cell<int>]':
- include/cell.hpp:18:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
- include/cell.hpp:48:36: instantiated from 'void Cell<T>::SetType(unsigned char) [with TT = Cell<int>, T = int]'
- include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
- include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
- src/main.cpp:5:32: instantiated from here
- include/value.hpp:7:10: error: no matching function for call to 'Cell<int>::Cell()'
- include/cell.hpp:12:3: note: candidates are: Cell<T>::Cell(unsigned char, bool) [with T = int]
- include/cell.hpp:7:1: note: Cell<int>::Cell(const Cell<int>&)
- In file included from src/main.cpp:1:0:
- include/cell.hpp: In member function 'void Cell<T>::SetType(unsigned char) [with TT = Cell<int>, T = Cell<int>]':
- include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = Cell<int>]'
- include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
- include/cell.hpp:48:36: instantiated from 'void Cell<T>::SetType(unsigned char) [with TT = Cell<int>, T = int]'
- include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
- include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
- src/main.cpp:5:32: instantiated from here
- include/cell.hpp:48:36: error: invalid conversion from 'Cell<Cell<int> >*' to 'unsigned char'
- include/cell.hpp:48:36: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
- include/cell.hpp:49:18: error: invalid conversion from 'Cell<Cell<int> >* const' to 'unsigned char'
- include/cell.hpp:49:18: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
- include/cell.hpp:50:4: error: type 'class Cell<Cell<int> >' argument given to 'delete', expected pointer
- include/cell.hpp:51:4: error: lvalue required as left operand of assignment
- include/cell.hpp: In member function 'void Cell<T>::SetType(unsigned char) [with TT = int, T = Cell<int>]':
- include/cell.hpp:38:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = Cell<int>]'
- include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
- include/cell.hpp:48:36: instantiated from 'void Cell<T>::SetType(unsigned char) [with TT = Cell<int>, T = int]'
- include/cell.hpp:28:7: instantiated from 'void Cell<T>::SetType_Reclass(unsigned char) [with T = int]'
- include/cell.hpp:16:5: instantiated from 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
- src/main.cpp:5:32: instantiated from here
- include/cell.hpp:48:36: error: invalid conversion from 'Cell<int>*' to 'unsigned char'
- include/cell.hpp:48:36: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = int]'
- include/cell.hpp:49:18: error: invalid conversion from 'Cell<Cell<int> >* const' to 'unsigned char'
- include/cell.hpp:49:18: error: initializing argument 1 of 'Cell<T>::Cell(unsigned char, bool) [with T = Cell<int>]'
- include/cell.hpp:50:4: error: type 'class Cell<Cell<int> >' argument given to 'delete', expected pointer
- include/cell.hpp:51:4: error: lvalue required as left operand of assignment
- scons: *** [src/main.o] Error 1
- scons: building terminated because of errors.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement