mirror of https://github.com/ARMmbed/mbed-os.git
Restore C++98 compilation mode
Also, remove the line that required C++11 from UDPSocket.hpull/34/head^2
parent
ff55aa3e13
commit
44c43e6e38
|
@ -22,8 +22,6 @@
|
|||
#include "Socket/Socket.h"
|
||||
#include "Socket/Endpoint.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
/**
|
||||
UDP Socket
|
||||
*/
|
||||
|
|
|
@ -62,7 +62,7 @@ class GCC(mbedToolchain):
|
|||
self.asm = [join(tool_path, "arm-none-eabi-as")] + self.cpu
|
||||
|
||||
self.cc = [join(tool_path, "arm-none-eabi-gcc"), "-std=gnu99"] + common_flags
|
||||
self.cppc =[join(tool_path, "arm-none-eabi-g++"), "-std=gnu++11"] + common_flags
|
||||
self.cppc =[join(tool_path, "arm-none-eabi-g++"), "-std=gnu++98"] + common_flags
|
||||
|
||||
self.ld = [join(tool_path, "arm-none-eabi-gcc"), "-Wl,--gc-sections", "-Wl,--wrap,main"] + self.cpu
|
||||
self.sys_libs = ["stdc++", "supc++", "m", "c", "gcc"]
|
||||
|
|
Loading…
Reference in New Issue