Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arduino: 1.8.8 (Windows 10), Board: "WAVGAT UNO R3"
- Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
- Blink:60:48: error: template argument 1 is invalid
- template< class T > struct remove_reference<T&&> {typedef T type;};
- ^
- Blink:63:35: error: expected unqualified-id before '&&' token
- typename remove_reference<T>::type&& move(T&& a) {
- ^
- Blink:157:22: error: expected ',' or '...' before '&&' token
- Iterator(Iterator&& it)
- ^
- Blink:157:27: error: invalid constructor; you probably meant 'xod::Iterator<T> (const xod::Iterator<T>&)'
- Iterator(Iterator&& it)
- ^
- Blink:163:33: error: expected ',' or '...' before '&&' token
- Iterator& operator=(Iterator&& it) {
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: In member function 'xod::Iterator<T>& xod::Iterator<T>::operator=(xod::Iterator<T>)':
- Blink:164:14: error: 'tmp' does not name a type
- auto tmp = it._cursor;
- ^
- Blink:165:9: error: 'it' was not declared in this scope
- it._cursor = _cursor;
- ^
- Blink:166:19: error: 'tmp' was not declared in this scope
- _cursor = tmp;
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: At global scope:
- Blink:216:5: error: 'constexpr' does not name a type
- constexpr List()
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino:216:5: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11
- Blink:316:35: error: 'nullptr' was not declared in this scope
- CStringView(const char* str = nullptr)
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: In member function 'virtual xod::Iterator<char> xod::CStringView::iterate() const':
- Blink:326:78: error: use of deleted function 'xod::Iterator<T>::Iterator(const xod::Iterator<T>&) [with T = char]'
- return _str ? Iterator<char>(new Cursor(_str)) : Iterator<char>::nil();
- ^
- Blink:154:5: error: declared here
- Iterator(const Iterator& that) = delete;
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: At global scope:
- Blink:344:27: error: expected ',' or '...' before '&&' token
- Cursor(Iterator<T>&& left, Iterator<T>&& right)
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: In constructor 'xod::ConcatListView<T>::Cursor::Cursor(xod::Iterator<T>)':
- Blink:345:21: error: 'move' is not a member of 'xod::std'
- : _left(std::move(left))
- ^
- Blink:345:31: error: 'left' was not declared in this scope
- : _left(std::move(left))
- ^
- Blink:346:22: error: 'move' is not a member of 'xod::std'
- , _right(std::move(right))
- ^
- Blink:346:32: error: 'right' was not declared in this scope
- , _right(std::move(right))
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: At global scope:
- Blink:394:7: error: expected nested-name-specifier before 'XString'
- using XString = List<char>;
- ^
- Blink:394:7: error: 'XString' has not been declared
- Blink:394:15: error: expected ';' before '=' token
- using XString = List<char>;
- ^
- Blink:394:15: error: expected unqualified-id before '=' token
- Blink:400:39: error: expected class-name before '{' token
- class XStringCString : public XString {
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: In constructor 'xod::XStringCString::XStringCString(const char*)':
- Blink:403:11: error: class 'xod::XStringCString' does not have any field named 'XString'
- : XString(&_view)
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: In member function 'virtual SoftwareSerial* xod::Uart::toSoftwareSerial()':
- Blink:467:14: error: 'nullptr' was not declared in this scope
- return nullptr;
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: In member function 'virtual HardwareSerial* xod::Uart::toHardwareSerial()':
- Blink:471:14: error: 'nullptr' was not declared in this scope
- return nullptr;
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: In function 'TR xod::foldl(xod::List<T>, TR (*)(TR, T), TR)':
- Blink:560:15: error: 'it' does not name a type
- for (auto it = xs.iterate(); it; ++it)
- ^
- Blink:560:34: error: expected ';' before 'it'
- for (auto it = xs.iterate(); it; ++it)
- ^
- Blink:560:34: error: 'it' was not declared in this scope
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: In function 'bool xod::equal(xod::List<T>, xod::List<T>)':
- Blink:595:10: error: 'lhsIt' does not name a type
- auto lhsIt = lhs.iterate();
- ^
- Blink:596:10: error: 'rhsIt' does not name a type
- auto rhsIt = rhs.iterate();
- ^
- Blink:598:12: error: 'lhsIt' was not declared in this scope
- for (; lhsIt && rhsIt; ++lhsIt, ++rhsIt) {
- ^
- Blink:598:21: error: 'rhsIt' was not declared in this scope
- for (; lhsIt && rhsIt; ++lhsIt, ++rhsIt) {
- ^
- Blink:602:13: error: 'lhsIt' was not declared in this scope
- return !lhsIt && !rhsIt;
- ^
- Blink:602:23: error: 'rhsIt' was not declared in this scope
- return !lhsIt && !rhsIt;
- ^
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: At global scope:
- Blink:972:50: error: expected nested-name-specifier before 'T'
- template<typename PinT> struct ValueType { using T = void; };
- ^
- Blink:972:50: error: using-declaration for non-member at class scope
- Blink:972:52: error: expected ';' before '=' token
- template<typename PinT> struct ValueType { using T = void; };
- ^
- Blink:972:52: error: expected unqualified-id before '=' token
- Blink:973:48: error: expected nested-name-specifier before 'T'
- template<> struct ValueType<input_IN1> { using T = Logic; };
- ^
- Blink:973:48: error: using-declaration for non-member at class scope
- Blink:973:50: error: expected ';' before '=' token
- template<> struct ValueType<input_IN1> { using T = Logic; };
- ^
- Blink:973:50: error: expected unqualified-id before '=' token
- Blink:974:48: error: expected nested-name-specifier before 'T'
- template<> struct ValueType<input_IN2> { using T = Logic; };
- ^
- Blink:974:48: error: using-declaration for non-member at class scope
- Blink:974:50: error: expected ';' before '=' token
- template<> struct ValueType<input_IN2> { using T = Logic; };
- ^
- Blink:974:50: error: expected unqualified-id before '=' token
- Blink:975:49: error: expected nested-name-specifier before 'T'
- template<> struct ValueType<output_OUT> { using T = Logic; };
- ^
- Blink:975:49: error: using-declaration for non-member at class scope
- Blink:975:51: error: expected ';' before '=' token
- template<> struct ValueType<output_OUT> { using T = Logic; };
- ^
- Blink:975:51: error: expected unqualified-id before '=' token
- Blink:987:7: error: expected nested-name-specifier before 'Context'
- using Context = ContextObject*;
- ^
- Blink:987:7: error: 'Context' has not been declared
- Blink:987:15: error: expected ';' before '=' token
- using Context = ContextObject*;
- ^
- Blink:987:15: error: expected unqualified-id before '=' token
- Blink:989:62: error: template declaration of 'typename xod::xod__core__any::ValueType<PinT>::T xod::xod__core__any::getValue'
- template<typename PinT> typename ValueType<PinT>::T getValue(Context ctx) {
- ^
- Blink:989:62: error: 'Context' was not declared in this scope
- Blink:996:26: error: expected initializer before '<' token
- template<> Logic getValue<input_IN1>(Context ctx) {
- ^
- Blink:999:26: error: expected initializer before '<' token
- template<> Logic getValue<input_IN2>(Context ctx) {
- ^
- Blink:1002:26: error: expected initializer before '<' token
- template<> Logic getValue<output_OUT>(Context ctx) {
- ^
- Blink:1006:45: error: template declaration of 'bool xod::xod__core__any::isInputDirty'
- template<typename InputT> bool isInputDirty(Context ctx) {
- ^
- Blink:1006:45: error: 'Context' was not declared in this scope
- Blink:1013:29: error: expected initializer before '<' token
- template<> bool isInputDirty<input_IN1>(Context ctx) {
- ^
- Blink:1016:29: error: expected initializer before '<' token
- template<> bool isInputDirty<input_IN2>(Context ctx) {
- ^
- Blink:1020:43: error: variable or field 'emitValue' declared void
- template<typename OutputT> void emitValue(Context ctx, typename ValueType<OutputT>::T val) {
- ^
- Blink:1020:43: error: 'Context' was not declared in this scope
- Blink:1020:87: error: expected '(' before 'val'
- template<typename OutputT> void emitValue(Context ctx, typename ValueType<OutputT>::T val) {
- ^
- Blink:1026:26: error: expected initializer before '<' token
- template<> void emitValue<output_OUT>(Context ctx, Logic val) {
- ^
- Blink:1031:17: error: 'Context' was not declared in this scope
- State* getState(Context ctx) {
- ^
- Blink:1031:30: error: expected ',' or ';' before '{' token
- State* getState(Context ctx) {
- ^
- Blink:1035:15: error: variable or field 'evaluate' declared void
- void evaluate(Context ctx) {
- ^
- Blink:1035:15: error: 'Context' was not declared in this scope
- Blink:1069:50: error: expected nested-name-specifier before 'T'
- template<typename PinT> struct ValueType { using T = void; };
- ^
- Blink:1069:50: error: using-declaration for non-member at class scope
- Blink:1069:52: error: expected ';' before '=' token
- template<typename PinT> struct ValueType { using T = void; };
- ^
- Blink:1069:52: error: expected unqualified-id before '=' token
- Blink:1070:50: error: expected nested-name-specifier before 'T'
- template<> struct ValueType<output_TICK> { using T = Logic; };
- ^
- Blink:1070:50: error: using-declaration for non-member at class scope
- Blink:1070:52: error: expected ';' before '=' token
- template<> struct ValueType<output_TICK> { using T = Logic; };
- ^
- Blink:1070:52: error: expected unqualified-id before '=' token
- Blink:1077:7: error: expected nested-name-specifier before 'Context'
- using Context = ContextObject*;
- ^
- Blink:1077:7: error: 'Context' has not been declared
- Blink:1077:15: error: expected ';' before '=' token
- using Context = ContextObject*;
- ^
- Blink:1077:15: error: expected unqualified-id before '=' token
- Blink:1079:62: error: template declaration of 'typename xod::xod__core__continuously::ValueType<PinT>::T xod::xod__core__continuously::getValue'
- template<typename PinT> typename ValueType<PinT>::T getValue(Context ctx) {
- ^
- Blink:1079:62: error: 'Context' was not declared in this scope
- Blink:1086:26: error: expected initializer before '<' token
- template<> Logic getValue<output_TICK>(Context ctx) {
- ^
- Blink:1090:45: error: template declaration of 'bool xod::xod__core__continuously::isInputDirty'
- template<typename InputT> bool isInputDirty(Context ctx) {
- ^
- Blink:1090:45: error: 'Context' was not declared in this scope
- Blink:1097:43: error: variable or field 'emitValue' declared void
- template<typename OutputT> void emitValue(Context ctx, typename ValueType<OutputT>::T val) {
- ^
- Blink:1097:43: error: 'Context' was not declared in this scope
- Blink:1097:87: error: expected '(' before 'val'
- template<typename OutputT> void emitValue(Context ctx, typename ValueType<OutputT>::T val) {
- ^
- Blink:1103:26: error: expected initializer before '<' token
- template<> void emitValue<output_TICK>(Context ctx, Logic val) {
- ^
- Blink:1108:17: error: 'Context' was not declared in this scope
- State* getState(Context ctx) {
- ^
- Blink:1108:30: error: expected ',' or ';' before '{' token
- State* getState(Context ctx) {
- ^
- Blink:1112:15: error: variable or field 'evaluate' declared void
- void evaluate(Context ctx) {
- ^
- Blink:1112:15: error: 'Context' was not declared in this scope
- Blink:1148:50: error: expected nested-name-specifier before 'T'
- template<typename PinT> struct ValueType { using T = void; };
- ^
- Blink:1148:50: error: using-declaration for non-member at class scope
- Blink:1148:52: error: expected ';' before '=' token
- template<typename PinT> struct ValueType { using T = void; };
- ^
- Blink:1148:52: error: expected unqualified-id before '=' token
- Blink:1149:47: error: expected nested-name-specifier before 'T'
- template<> struct ValueType<input_EN> { using T = Logic; };
- ^
- Blink:1149:47: error: using-declaration for non-member at class scope
- Blink:1149:49: error: expected ';' before '=' token
- template<> struct ValueType<input_EN> { using T = Logic; };
- ^
- Blink:1149:49: error: expected unqualified-id before '=' token
- Blink:1150:49: error: expected nested-name-specifier before 'T'
- template<> struct ValueType<input_IVAL> { using T = Number; };
- ^
- Blink:1150:49: error: using-declaration for non-member at class scope
- Blink:1150:51: error: expected ';' before '=' token
- template<> struct ValueType<input_IVAL> { using T = Number; };
- ^
- Blink:1150:51: error: expected unqualified-id before '=' token
- Blink:1151:48: error: expected nested-name-specifier before 'T'
- template<> struct ValueType<input_RST> { using T = Logic; };
- ^
- Blink:1151:48: error: using-declaration for non-member at class scope
- Blink:1151:50: error: expected ';' before '=' token
- template<> struct ValueType<input_RST> { using T = Logic; };
- ^
- Blink:1151:50: error: expected unqualified-id before '=' token
- Blink:1152:50: error: expected nested-name-specifier before 'T'
- template<> struct ValueType<output_TICK> { using T = Logic; };
- ^
- Blink:1152:50: error: using-declaration for non-member at class scope
- Blink:1152:52: error: expected ';' before '=' token
- template<> struct ValueType<output_TICK> { using T = Logic; };
- ^
- Blink:1152:52: error: expected unqualified-id before '=' token
- Blink:1165:7: error: expected nested-name-specifier before 'Context'
- using Context = ContextObject*;
- ^
- Blink:1165:7: error: 'Context' has not been declared
- Blink:1165:15: error: expected ';' before '=' token
- using Context = ContextObject*;
- ^
- Blink:1165:15: error: expected unqualified-id before '=' token
- Blink:1167:62: error: template declaration of 'typename xod::xod__core__clock::ValueType<PinT>::T xod::xod__core__clock::getValue'
- template<typename PinT> typename ValueType<PinT>::T getValue(Context ctx) {
- ^
- Blink:1167:62: error: 'Context' was not declared in this scope
- Blink:1174:26: error: expected initializer before '<' token
- template<> Logic getValue<input_EN>(Context ctx) {
- ^
- Blink:1177:27: error: expected initializer before '<' token
- template<> Number getValue<input_IVAL>(Context ctx) {
- ^
- Blink:1180:26: error: expected initializer before '<' token
- template<> Logic getValue<input_RST>(Context ctx) {
- ^
- Blink:1183:26: error: expected initializer before '<' token
- template<> Logic getValue<output_TICK>(Context ctx) {
- ^
- Blink:1187:45: error: template declaration of 'bool xod::xod__core__clock::isInputDirty'
- template<typename InputT> bool isInputDirty(Context ctx) {
- ^
- Blink:1187:45: error: 'Context' was not declared in this scope
- Blink:1194:29: error: expected initializer before '<' token
- template<> bool isInputDirty<input_EN>(Context ctx) {
- ^
- Blink:1197:29: error: expected initializer before '<' token
- template<> bool isInputDirty<input_RST>(Context ctx) {
- ^
- Blink:1201:43: error: variable or field 'emitValue' declared void
- template<typename OutputT> void emitValue(Context ctx, typename ValueType<OutputT>::T val) {
- ^
- Blink:1201:43: error: 'Context' was not declared in this scope
- Blink:1201:87: error: expected '(' before 'val'
- template<typename OutputT> void emitValue(Context ctx, typename ValueType<OutputT>::T val) {
- ^
- Blink:1207:26: error: expected initializer before '<' token
- template<> void emitValue<output_TICK>(Context ctx, Logic val) {
- ^
- Blink:1212:17: error: 'Context' was not declared in this scope
- State* getState(Context ctx) {
- ^
- Blink:1212:30: error: expected ',' or ';' before '{' token
- State* getState(Context ctx) {
- ^
- Blink:1216:15: error: variable or field 'evaluate' declared void
- void evaluate(Context ctx) {
- ^
- Blink:1216:15: error: 'Context' was not declared in this scope
- Blink:2361:28: error: expected '}' before end of line
- #pragma GCC diagnostic push
- ^
- Blink:2361:28: error: expected '}' before end of line
- Blink:2361:28: error: expected declaration before end of line
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino: In instantiation of 'static xod::Iterator<T> xod::Iterator<T>::nil() [with T = char]':
- C:\Users\Ori\AppData\Local\Temp\arduino_modified_sketch_226482\Blink.ino:326:74: required from here
- Blink:142:54: error: use of deleted function 'xod::Iterator<T>::Iterator(const xod::Iterator<T>&) [with T = char]'
- return Iterator<T>(new detail::NilCursor<T>());
- ^
- Blink:154:5: error: declared here
- Iterator(const Iterator& that) = delete;
- ^
- exit status 1
- template argument 1 is invalid
- This report would have more information with
- "Show verbose output during compilation"
- option enabled in File -> Preferences.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement