Portability
authorEduardo Ramos Testillano <eduardo.ramos.testillano@gmail.com>
Sun, 13 Jul 2014 21:41:45 +0000 (23:41 +0200)
committerEduardo Ramos Testillano <eduardo.ramos.testillano@gmail.com>
Sun, 13 Jul 2014 21:41:45 +0000 (23:41 +0200)
SConstruct
include/anna/core/oam/Handler.hpp
include/anna/core/oam/Module.hpp
include/anna/core/util/defines.hpp
source/core/oam/Module.cpp

index 5c4cea7..8083387 100644 (file)
@@ -40,7 +40,7 @@ libraries = []
 #env = Environment ()
 # CPPPATH will be relative to src/<target>
 env.Append (CPPPATH = [source_include, usr_local_include, usr_include ])
-env.Append (CCFLAGS = '-std=c++0x')
+#env.Append (CCFLAGS = '-std=c++0x')
 # C++11 support:
 #env.Append (CXXFLAGS = '-std=c++11')
 
index 7170923..72f72be 100644 (file)
@@ -45,6 +45,8 @@
 
 #include <anna/core/oam/defines.hpp>
 
+#include <cstdarg>
+
 
 namespace anna {
 
index ccc5ab9..2f0bbe6 100644 (file)
@@ -48,6 +48,8 @@
 #include <anna/core/oam/defines.hpp>
 #include <anna/core/oam/Handler.hpp>
 
+#include <cstdarg>
+
 
 namespace anna {
 namespace xml {
index fbe7bc9..066dd15 100644 (file)
@@ -42,6 +42,8 @@
 #include <string>
 #include <vector>
 
+#include <stdio.h>
+
 
 
 // Decoding helpers
index 84991e5..341ed8c 100644 (file)
@@ -47,7 +47,7 @@
 #include <anna/core/oam/CounterManager.hpp>
 
 // Standard
-#include <stdarg.h>
+#include <cstdarg>
 
 
 #define UNDEFINED_EVENT_DESCRIPTION "<undefined>"