Restore C++98 compilation mode

Also, remove the line that required C++11 from UDPSocket.h
pull/34/head^2
Bogdan Marinescu 2013-08-15 14:09:20 +03:00
parent ff55aa3e13
commit 44c43e6e38
2 changed files with 1 additions and 3 deletions

View File

@ -22,8 +22,6 @@
#include "Socket/Socket.h"
#include "Socket/Endpoint.h"
#include <cstdint>
/**
UDP Socket
*/

View File

@ -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"]