[mlpack-git] master: Make size_t known before including cxxabi.h to fix the build on FreeBSD. (2a71618)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:07:47 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

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

commit 2a716182021b8a7064e47c629db00976b5be8cd6
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date:   Mon Dec 22 00:54:56 2014 +0100

    Make size_t known before including cxxabi.h to fix the build on FreeBSD.


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

2a716182021b8a7064e47c629db00976b5be8cd6
 src/mlpack/core/util/log.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mlpack/core/util/log.cpp b/src/mlpack/core/util/log.cpp
index 49bd607..53dc8eb 100644
--- a/src/mlpack/core/util/log.cpp
+++ b/src/mlpack/core/util/log.cpp
@@ -5,6 +5,7 @@
  * Implementation of the Log class.
  */
 #ifndef _WIN32
+  #include <cstddef>
   #include <cxxabi.h>
   #include <execinfo.h>
 #endif



More information about the mlpack-git mailing list