Skip to content

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

@Rafdal

Description

@Rafdal

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...> :

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions