Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Compile failure - compat issue w/arduino mega2560 #4

@ldmtwo

Description

@ldmtwo

Repro:
#include <Arduino_AVRSTL.h>
#include

FYI the other STLs also have similar issues. I'm using only standard out of the box Arduino IDE and devices.

C:\Users\LD\Documents\Arduino\libraries\Arduino_AVRSTL\src\del_opvnt.cpp:25:58: error: 'nothrow_t' in namespace 'std' does not name a type
_UCXXEXPORT void operator delete[](void* ptr, const std::nothrow_t& ) throw(){
^~~~~~~~~
C:\Users\LD\Documents\Arduino\libraries\Arduino_AVRSTL\src\del_ops.cpp:25:50: error: 'std::size_t' has not been declared
_UCXXEXPORT void operator delete(void* ptr, std::size_t) throw(){
^~~~~~
C:\Users\LD\Documents\Arduino\libraries\Arduino_AVRSTL\src\del_opvs.cpp:25:53: error: 'std::size_t' has not been declared
_UCXXEXPORT void operator delete[](void * ptr, std::size_t) throw(){
^~~~~~
C:\Users\LD\Documents\Arduino\libraries\Arduino_AVRSTL\src\del_opnt.cpp:25:56: error: 'nothrow_t' in namespace 'std' does not name a type
_UCXXEXPORT void operator delete(void* ptr, const std::nothrow_t& ) throw() {
^~~~~~~~~
exit status 1
Error compiling for board Arduino Mega or Mega 2560.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions