[mlpack-git] master: add ARMA_USE_CXX11 if the compiler is msvc (6f213a3)

gitdub at mlpack.org gitdub at mlpack.org
Sat Apr 16 00:27:03 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/ebf77f8b13323a87c433b6f639deb2369188b00c...b08ae02b90e18f97366b236e7a4d8725cd6e9050

>---------------------------------------------------------------

commit 6f213a3d077ddde4281e072e2a975398c67a253f
Author: stereomatchingkiss <stereomatchingkiss at gmail.com>
Date:   Sat Apr 16 12:27:03 2016 +0800

    add ARMA_USE_CXX11 if the compiler is msvc


>---------------------------------------------------------------

6f213a3d077ddde4281e072e2a975398c67a253f
 src/mlpack/prereqs.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mlpack/prereqs.hpp b/src/mlpack/prereqs.hpp
index 5b93936..b81b8c4 100644
--- a/src/mlpack/prereqs.hpp
+++ b/src/mlpack/prereqs.hpp
@@ -77,6 +77,7 @@
 // it's part of the C++11 standard.
 #ifdef _MSC_VER
   #pragma warning(disable : 4519)
+  #define ARMA_USE_CXX11
 #endif
 
 #endif




More information about the mlpack-git mailing list