[mlpack-svn] r17394 - mlpack/trunk/src/mlpack

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Nov 19 13:38:41 EST 2014


Author: rcurtin
Date: Wed Nov 19 13:38:40 2014
New Revision: 17394

Log:
Disable C4519 in prereqs.hpp not core.hpp.


Modified:
   mlpack/trunk/src/mlpack/core.hpp
   mlpack/trunk/src/mlpack/prereqs.hpp

Modified: mlpack/trunk/src/mlpack/core.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/core.hpp	(original)
+++ mlpack/trunk/src/mlpack/core.hpp	Wed Nov 19 13:38:40 2014
@@ -193,10 +193,3 @@
     #undef max
   #endif
 #endif
-
-// On Visual Studio, disable C4519 (default arguments for function templates)
-// since it's by default an error, which doesn't even make any sense because
-// it's part of the C++11 standard.
-#ifdef _MSC_VER
-  #pragma warning(disable : 4519)
-#endif

Modified: mlpack/trunk/src/mlpack/prereqs.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/prereqs.hpp	(original)
+++ mlpack/trunk/src/mlpack/prereqs.hpp	Wed Nov 19 13:38:40 2014
@@ -48,4 +48,11 @@
 // Now include Armadillo through the special mlpack extensions.
 #include <mlpack/core/arma_extend/arma_extend.hpp>
 
+// On Visual Studio, disable C4519 (default arguments for function templates)
+// since it's by default an error, which doesn't even make any sense because
+// it's part of the C++11 standard.
+#ifdef _MSC_VER
+  #pragma warning(disable : 4519)
+#endif
+
 #endif



More information about the mlpack-svn mailing list