projects
/
anna.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
659d618
)
Portability
author
Eduardo Ramos Testillano
<eduardo.ramos.testillano@gmail.com>
Sun, 13 Jul 2014 21:41:45 +0000
(23:41 +0200)
committer
Eduardo Ramos Testillano
<eduardo.ramos.testillano@gmail.com>
Sun, 13 Jul 2014 21:41:45 +0000
(23:41 +0200)
SConstruct
patch
|
blob
|
history
include/anna/core/oam/Handler.hpp
patch
|
blob
|
history
include/anna/core/oam/Module.hpp
patch
|
blob
|
history
include/anna/core/util/defines.hpp
patch
|
blob
|
history
source/core/oam/Module.cpp
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index
5c4cea7
..
8083387
100644
(file)
--- a/
SConstruct
+++ b/
SConstruct
@@
-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')
diff --git
a/include/anna/core/oam/Handler.hpp
b/include/anna/core/oam/Handler.hpp
index
7170923
..
72f72be
100644
(file)
--- a/
include/anna/core/oam/Handler.hpp
+++ b/
include/anna/core/oam/Handler.hpp
@@
-45,6
+45,8
@@
#include <anna/core/oam/defines.hpp>
+#include <cstdarg>
+
namespace anna {
diff --git
a/include/anna/core/oam/Module.hpp
b/include/anna/core/oam/Module.hpp
index
ccc5ab9
..
2f0bbe6
100644
(file)
--- a/
include/anna/core/oam/Module.hpp
+++ b/
include/anna/core/oam/Module.hpp
@@
-48,6
+48,8
@@
#include <anna/core/oam/defines.hpp>
#include <anna/core/oam/Handler.hpp>
+#include <cstdarg>
+
namespace anna {
namespace xml {
diff --git
a/include/anna/core/util/defines.hpp
b/include/anna/core/util/defines.hpp
index
fbe7bc9
..
066dd15
100644
(file)
--- a/
include/anna/core/util/defines.hpp
+++ b/
include/anna/core/util/defines.hpp
@@
-42,6
+42,8
@@
#include <string>
#include <vector>
+#include <stdio.h>
+
// Decoding helpers
diff --git
a/source/core/oam/Module.cpp
b/source/core/oam/Module.cpp
index
84991e5
..
341ed8c
100644
(file)
--- a/
source/core/oam/Module.cpp
+++ b/
source/core/oam/Module.cpp
@@
-47,7
+47,7
@@
#include <anna/core/oam/CounterManager.hpp>
// Standard
-#include <
stdarg.h
>
+#include <
cstdarg
>
#define UNDEFINED_EVENT_DESCRIPTION "<undefined>"