IGNITE-4090: Added flags so stdint and limits can be used in C++.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/fc7ce5a4 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/fc7ce5a4 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/fc7ce5a4 Branch: refs/heads/ignite-4242 Commit: fc7ce5a4d72145f2e8a86debeda264ef0a5b37e3 Parents: 40ef2f5 Author: isapego <[email protected]> Authored: Mon Nov 7 13:26:05 2016 +0300 Committer: isapego <[email protected]> Committed: Mon Nov 7 13:26:05 2016 +0300 ---------------------------------------------------------------------- modules/platforms/cpp/binary/Makefile.am | 4 +++- modules/platforms/cpp/core/Makefile.am | 4 +++- modules/platforms/cpp/examples/odbc-example/Makefile.am | 4 +++- modules/platforms/cpp/examples/putget-example/Makefile.am | 4 +++- modules/platforms/cpp/examples/query-example/Makefile.am | 4 +++- modules/platforms/cpp/ignite/Makefile.am | 4 +++- modules/platforms/cpp/jni/Makefile.am | 4 +++- modules/platforms/cpp/odbc/Makefile.am | 4 +++- 8 files changed, 24 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/fc7ce5a4/modules/platforms/cpp/binary/Makefile.am ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/binary/Makefile.am b/modules/platforms/cpp/binary/Makefile.am index 4876776..ca301a6 100644 --- a/modules/platforms/cpp/binary/Makefile.am +++ b/modules/platforms/cpp/binary/Makefile.am @@ -26,7 +26,9 @@ AM_CPPFLAGS = \ -I$(srcdir)/include \ -I@top_srcdir@/common/include \ -I@top_srcdir@/common/os/linux/include \ - -DIGNITE_IMPL + -DIGNITE_IMPL \ + -D__STDC_LIMIT_MACROS \ + -D__STDC_CONSTANT_MACROS AM_CXXFLAGS = \ -Wall \ http://git-wip-us.apache.org/repos/asf/ignite/blob/fc7ce5a4/modules/platforms/cpp/core/Makefile.am ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/core/Makefile.am b/modules/platforms/cpp/core/Makefile.am index bbb7720..97523cf 100644 --- a/modules/platforms/cpp/core/Makefile.am +++ b/modules/platforms/cpp/core/Makefile.am @@ -31,7 +31,9 @@ AM_CPPFLAGS = \ -I@top_srcdir@/jni/os/linux/include \ -I$(JAVA_HOME)/include \ -I$(JAVA_HOME)/include/linux \ - -DIGNITE_IMPL + -DIGNITE_IMPL \ + -D__STDC_LIMIT_MACROS \ + -D__STDC_CONSTANT_MACROS AM_CXXFLAGS = \ -Wall \ http://git-wip-us.apache.org/repos/asf/ignite/blob/fc7ce5a4/modules/platforms/cpp/examples/odbc-example/Makefile.am ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/examples/odbc-example/Makefile.am b/modules/platforms/cpp/examples/odbc-example/Makefile.am index e584105..83cc63e 100644 --- a/modules/platforms/cpp/examples/odbc-example/Makefile.am +++ b/modules/platforms/cpp/examples/odbc-example/Makefile.am @@ -30,7 +30,9 @@ AM_CPPFLAGS = \ -I@top_srcdir@/../jni/os/linux/include \ -I$(JAVA_HOME)/include \ -I$(JAVA_HOME)/include/linux \ - -DIGNITE_IMPL + -DIGNITE_IMPL \ + -D__STDC_LIMIT_MACROS \ + -D__STDC_CONSTANT_MACROS AM_CXXFLAGS = \ -Wall \ http://git-wip-us.apache.org/repos/asf/ignite/blob/fc7ce5a4/modules/platforms/cpp/examples/putget-example/Makefile.am ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/examples/putget-example/Makefile.am b/modules/platforms/cpp/examples/putget-example/Makefile.am index 5301ea1..cf39002 100644 --- a/modules/platforms/cpp/examples/putget-example/Makefile.am +++ b/modules/platforms/cpp/examples/putget-example/Makefile.am @@ -30,7 +30,9 @@ AM_CPPFLAGS = \ -I@top_srcdir@/../jni/os/linux/include \ -I$(JAVA_HOME)/include \ -I$(JAVA_HOME)/include/linux \ - -DIGNITE_IMPL + -DIGNITE_IMPL \ + -D__STDC_LIMIT_MACROS \ + -D__STDC_CONSTANT_MACROS AM_CXXFLAGS = \ -Wall \ http://git-wip-us.apache.org/repos/asf/ignite/blob/fc7ce5a4/modules/platforms/cpp/examples/query-example/Makefile.am ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/examples/query-example/Makefile.am b/modules/platforms/cpp/examples/query-example/Makefile.am index 1437303..01231ec 100644 --- a/modules/platforms/cpp/examples/query-example/Makefile.am +++ b/modules/platforms/cpp/examples/query-example/Makefile.am @@ -30,7 +30,9 @@ AM_CPPFLAGS = \ -I@top_srcdir@/../jni/os/linux/include \ -I$(JAVA_HOME)/include \ -I$(JAVA_HOME)/include/linux \ - -DIGNITE_IMPL + -DIGNITE_IMPL \ + -D__STDC_LIMIT_MACROS \ + -D__STDC_CONSTANT_MACROS AM_CXXFLAGS = \ -Wall \ http://git-wip-us.apache.org/repos/asf/ignite/blob/fc7ce5a4/modules/platforms/cpp/ignite/Makefile.am ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/ignite/Makefile.am b/modules/platforms/cpp/ignite/Makefile.am index 625f1df..2dbc4d6 100644 --- a/modules/platforms/cpp/ignite/Makefile.am +++ b/modules/platforms/cpp/ignite/Makefile.am @@ -30,7 +30,9 @@ AM_CPPFLAGS = \ -I@top_srcdir@/jni/os/linux/include \ -I$(JAVA_HOME)/include \ -I$(JAVA_HOME)/include/linux \ - -DIGNITE_IMPL + -DIGNITE_IMPL \ + -D__STDC_LIMIT_MACROS \ + -D__STDC_CONSTANT_MACROS AM_CXXFLAGS = \ -Wall \ http://git-wip-us.apache.org/repos/asf/ignite/blob/fc7ce5a4/modules/platforms/cpp/jni/Makefile.am ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/jni/Makefile.am b/modules/platforms/cpp/jni/Makefile.am index b9b3913..2cb4b90 100644 --- a/modules/platforms/cpp/jni/Makefile.am +++ b/modules/platforms/cpp/jni/Makefile.am @@ -29,7 +29,9 @@ AM_CPPFLAGS = \ -I@top_srcdir@/common/os/linux/include \ -I$(JAVA_HOME)/include \ -I$(JAVA_HOME)/include/linux \ - -DIGNITE_IMPL + -DIGNITE_IMPL \ + -D__STDC_LIMIT_MACROS \ + -D__STDC_CONSTANT_MACROS AM_CXXFLAGS = \ -Wall \ http://git-wip-us.apache.org/repos/asf/ignite/blob/fc7ce5a4/modules/platforms/cpp/odbc/Makefile.am ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/odbc/Makefile.am b/modules/platforms/cpp/odbc/Makefile.am index 3c8b37a..b0cc5f8 100644 --- a/modules/platforms/cpp/odbc/Makefile.am +++ b/modules/platforms/cpp/odbc/Makefile.am @@ -27,7 +27,9 @@ AM_CPPFLAGS = \ -I@top_srcdir@/common/include \ -I@top_srcdir@/common/os/linux/include \ -I@top_srcdir@/binary/include \ - -DIGNITE_IMPL + -DIGNITE_IMPL \ + -D__STDC_LIMIT_MACROS \ + -D__STDC_CONSTANT_MACROS AM_CXXFLAGS = \ -Wall \
