-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simple-broker not compiling #103
Comments
Same error for me as well any solution for this problem ? |
go in to the tinyconsole library and switch this TinyString& TinyString::operator=(TinyString && other) With this TinyString& TinyString::operator=(TinyString && other) |
Thank You friend, also can you help one more thing ? Could you please tell the file name ? Really sorry for silly question. |
Tinystring.cpp |
I'm getting the same error, but my Tinystring.cpp already uses std::swap. Besides, the error above says that the call in TinyTerm::onKey is ambiguous. If I change "exchange" to "::exchange" to force the use of the template at the top of the file, the ambiguity is broken. But then I'm getting another error: /tmp/.arduinoIDE-unsaved2024930-2070929-yr320l.vzzcp/simple-broker/simple-broker.ino: In function 'void setup()':
/tmp/.arduinoIDE-unsaved2024930-2070929-yr320l.vzzcp/simple-broker/simple-broker.ino:29:41: error: 'red' is not a member of 'TinyConsole'
29 | Console << TinyConsole::red << "****** PLEASE MODIFY ssid/password *************" << endl;
| ^~~
/tmp/.arduinoIDE-unsaved2024930-2070929-yr320l.vzzcp/simple-broker/simple-broker.ino:38:27: error: 'green' is not a member of 'TinyConsole'
38 | Console << TinyConsole::green << "Connected to " << ssid << "IP address: " << WiFi.localIP() << endl; and indeed TinyConsole does not have any such members... There are also numerous other errors, I think this is not kept up to date. |
I am getting the same errors. Using Arduino IDE version 2.3.4 and 0.9.16 of the TinyMqtt library. |
Hello,
after I updated the library in Arduino IDE 2.3.2 I can't compile my project anymore.
Even if I try to compile the example "simple-broker" I get the following error:
TinyMqtt 0.9.16
TinyConsole 0.4.6
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: