Skip to content

Commit 98ee10f

Browse files
author
Martin Klang
committed
changed to support C++14 (gnu++14)
1 parent b2bde7e commit 98ee10f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Source/operators.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ void * operator new(size_t size) { return pvPortMalloc(size); }
99
void * operator new(size_t, void * p) { return p ; }
1010
void * operator new[](size_t size) { return pvPortMalloc(size); }
1111
void operator delete(void* ptr) { vPortFree(ptr); }
12+
void operator delete(void* ptr, unsigned int) { vPortFree(ptr); }
1213
void operator delete[](void * ptr) { vPortFree(ptr); }
1314
//int _gettimeofday(struct timeval *__p, void *__tz){return 0;}
1415

compile.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ LDFLAGS += -fpic
5252
LDFLAGS += -fpie
5353
LDFLAGS += -flto
5454

55-
CXXFLAGS = -fno-rtti -fno-exceptions
55+
CXXFLAGS = -fno-rtti
56+
CXXFLAGS += -fno-exceptions
5657

5758
ifdef HEAVY
5859
CPPFLAGS += -D__unix__ -DHV_SIMD_NONE

0 commit comments

Comments
 (0)