Skip to content
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

Doesn't compile with Arduino Nano 33 BLE (Nordic nRF52 platform) #88

Open
Rafdal opened this issue Dec 2, 2022 · 0 comments
Open

Doesn't compile with Arduino Nano 33 BLE (Nordic nRF52 platform) #88

Rafdal opened this issue Dec 2, 2022 · 0 comments

Comments

@Rafdal
Copy link

Rafdal commented Dec 2, 2022

Exactly what the title says, It doesn't compile with a simple empty program.

I get +500 compile errores but here are some:

.pio/libdeps/nano33ble/ArduinoSTL/src/cstdlib:44:10: error: '::realloc' has not been declared
  using ::realloc;
          ^~~~~~~
.pio/libdeps/nano33ble/ArduinoSTL/src/cstdlib:45:10: error: '::srand' has not been declared
  using ::srand;
          ^~~~~
.pio/libdeps/nano33ble/ArduinoSTL/src/cstdlib:46:10: error: '::strtod' has not been declared

/home/rafdal/.platformio/packages/framework-arduino-mbed/cores/arduino/mbed/platform/cxxsupport/mstd_type_traits:398:36: error: there are no arguments to 'INVOKE' that depend on a template parameter, so a declaration of 'INVOKE' must be available [-fpermissive]
 struct invoke_result<decltype(void(INVOKE(std::declval<F>(), std::declval<Args>()...))), F, Args...> :
                                    ^~~~~~
/home/rafdal/.platformio/packages/framework-arduino-mbed/cores/arduino/mbed/platform/cxxsupport/mstd_type_traits:398:48: error: 'declval' is not a member of 'std'
 struct invoke_result<decltype(void(INVOKE(std::declval<F>(), std::declval<Args>()...))), F, Args...> :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant