This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.
Version: 1.0.0
More details
| Board | Claims compatibility | Inclusion | CFPushButtonExample |
|---|---|---|---|
|
arduino:avr:uno
1.8.4 |
Yes ⚠️ | FAIL | FAIL |
|
arduino:mbed_nano:nanorp2040connect
2.7.2 |
Yes | PASS | FAIL |
|
arduino:megaavr:nona4809
1.8.7 |
Yes ⚠️ | FAIL | FAIL |
|
arduino:samd:mkrwifi1010
1.8.12 |
Yes ⚠️ | FAIL | FAIL |
|
esp32:esp32:d1_mini32
1.0.6 |
Yes ⚠️ | FAIL | FAIL |
Result: FAIL
In file included from /private/tmp/arduino-testlib2504832558/test/test.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressReachedCallback; // Called when short time is reached.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressReachedCallback; // Called when long time is reached.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onPressCallback; // Called when button is pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressCallback; // Called when button is short pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressCallback; // Called when button is longe pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^
Result: FAIL
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressReachedCallback; // Called when short time is reached.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressReachedCallback; // Called when long time is reached.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onPressCallback; // Called when button is pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressCallback; // Called when button is short pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressCallback; // Called when button is longe pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:3:25: error: 'D5' was not declared in this scope
CFPushButton pushButton(D5); // Push Button.
^~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:3:25: note: suggested alternative: 'A5'
CFPushButton pushButton(D5); // Push Button.
^~
A5
Result: PASS
Sketch uses 78804 bytes (0%) of program storage space. Maximum is 16777216 bytes. Global variables use 43464 bytes (16%) of dynamic memory, leaving 226872 bytes for local variables. Maximum is 270336 bytes.
Result: FAIL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:3:25: error: 'D5' was not declared in this scope
CFPushButton pushButton(D5); // Push Button.
^~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:3:25: note: suggested alternative: 'A5'
CFPushButton pushButton(D5); // Push Button.
^~
A5
Result: FAIL
In file included from /tmp/arduino-testlib1657104335/test/test.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressReachedCallback; // Called when short time is reached.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressReachedCallback; // Called when long time is reached.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onPressCallback; // Called when button is pressed.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressCallback; // Called when button is short pressed.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressCallback; // Called when button is longe pressed.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressReachedCallback; // Called when short time is reached.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressReachedCallback; // Called when long time is reached.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onPressCallback; // Called when button is pressed.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressCallback; // Called when button is short pressed.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressCallback; // Called when button is longe pressed.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:3:25: error: 'D5' was not declared in this scope
CFPushButton pushButton(D5); // Push Button.
^~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:3:25: note: suggested alternative: 'A5'
CFPushButton pushButton(D5); // Push Button.
^~
A5
Result: FAIL
In file included from /private/tmp/arduino-testlib2504832558/test/test.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressReachedCallback; // Called when short time is reached.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressReachedCallback; // Called when long time is reached.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onPressCallback; // Called when button is pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressCallback; // Called when button is short pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressCallback; // Called when button is longe pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^
Result: FAIL
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressReachedCallback; // Called when short time is reached.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressReachedCallback; // Called when long time is reached.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onPressCallback; // Called when button is pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressCallback; // Called when button is short pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressCallback; // Called when button is longe pressed.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:3:25: error: 'D5' was not declared in this scope
CFPushButton pushButton(D5); // Push Button.
^~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:3:25: note: suggested alternative: 'A5'
CFPushButton pushButton(D5); // Push Button.
^~
A5
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino: In function 'void setup()':
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:14:74: error: invalid conversion from 'void (*)()' to 'int' [-fpermissive]
pushButton.setOnShortPressReachedCallback(onShortPressReachedCallback);
^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:14: note: initializing argument 1 of 'void CFPushButton::setOnShortPressReachedCallback(int)'
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:15:72: error: invalid conversion from 'void (*)()' to 'int' [-fpermissive]
pushButton.setOnLongPressReachedCallback(onLongPressReachedCallback);
^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:14: note: initializing argument 1 of 'void CFPushButton::setOnLongPressReachedCallback(int)'
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:16:50: error: invalid conversion from 'void (*)()' to 'int' [-fpermissive]
pushButton.setOnPressCallback(onPressCallback);
^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:14: note: initializing argument 1 of 'void CFPushButton::setOnPressCallback(int)'
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^~~~~~~~~~~~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:17:60: error: invalid conversion from 'void (*)()' to 'int' [-fpermissive]
pushButton.setOnShortPressCallback(onShortPressCallback);
^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:14: note: initializing argument 1 of 'void CFPushButton::setOnShortPressCallback(int)'
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^~~~~~~~~
Result: FAIL
In file included from /tmp/arduino-testlib2118909787/test/test.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressReachedCallback; // Called when short time is reached.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressReachedCallback; // Called when long time is reached.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onPressCallback; // Called when button is pressed.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressCallback; // Called when button is short pressed.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressCallback; // Called when button is longe pressed.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^
Result: FAIL
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressReachedCallback; // Called when short time is reached.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressReachedCallback; // Called when long time is reached.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onPressCallback; // Called when button is pressed.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onShortPressCallback; // Called when button is short pressed.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
std::function<void()> _onLongPressCallback; // Called when button is longe pressed.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:14:74: error: invalid conversion from 'void (*)()' to 'int' [-fpermissive]
pushButton.setOnShortPressReachedCallback(onShortPressReachedCallback);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:14: note: initializing argument 1 of 'void CFPushButton::setOnShortPressReachedCallback(int)'
void setOnShortPressReachedCallback(std::function<void()> func); // Define short time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:15:72: error: invalid conversion from 'void (*)()' to 'int' [-fpermissive]
pushButton.setOnLongPressReachedCallback(onLongPressReachedCallback);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:14: note: initializing argument 1 of 'void CFPushButton::setOnLongPressReachedCallback(int)'
void setOnLongPressReachedCallback(std::function<void()> func); // Define long time reached callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:16:50: error: invalid conversion from 'void (*)()' to 'int' [-fpermissive]
pushButton.setOnPressCallback(onPressCallback);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:14: note: initializing argument 1 of 'void CFPushButton::setOnPressCallback(int)'
void setOnPressCallback(std::function<void()> func); // Define button press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:17:60: error: invalid conversion from 'void (*)()' to 'int' [-fpermissive]
pushButton.setOnShortPressCallback(onShortPressCallback);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:14: note: initializing argument 1 of 'void CFPushButton::setOnShortPressCallback(int)'
void setOnShortPressCallback(std::function<void()> func); // Define button short press callback.
^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:18:58: error: invalid conversion from 'void (*)()' to 'int' [-fpermissive]
pushButton.setOnLongPressCallback(onLongPressCallback);
^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/examples/CFPushButtonExample/CFPushButtonExample.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:14: note: initializing argument 1 of 'void CFPushButton::setOnLongPressCallback(int)'
void setOnLongPressCallback(std::function<void()> func); // Define button long press callback.
^