Skip to content

Commit 44c43e6

Browse files
committed
Restore C++98 compilation mode
Also, remove the line that required C++11 from UDPSocket.h
1 parent ff55aa3 commit 44c43e6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

libraries/net/lwip/Socket/UDPSocket.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
#include "Socket/Socket.h"
2323
#include "Socket/Endpoint.h"
2424

25-
#include <cstdint>
26-
2725
/**
2826
UDP Socket
2927
*/

workspace_tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def __init__(self, target, options=None, notify=None, tool_path=""):
6262
self.asm = [join(tool_path, "arm-none-eabi-as")] + self.cpu
6363

6464
self.cc = [join(tool_path, "arm-none-eabi-gcc"), "-std=gnu99"] + common_flags
65-
self.cppc =[join(tool_path, "arm-none-eabi-g++"), "-std=gnu++11"] + common_flags
65+
self.cppc =[join(tool_path, "arm-none-eabi-g++"), "-std=gnu++98"] + common_flags
6666

6767
self.ld = [join(tool_path, "arm-none-eabi-gcc"), "-Wl,--gc-sections", "-Wl,--wrap,main"] + self.cpu
6868
self.sys_libs = ["stdc++", "supc++", "m", "c", "gcc"]

0 commit comments

Comments
 (0)