mlpack  master
arma_config_check.hpp
Go to the documentation of this file.
1 
16 #ifndef MLPACK_CORE_UTIL_ARMA_CONFIG_CHECK_HPP
17 #define MLPACK_CORE_UTIL_ARMA_CONFIG_CHECK_HPP
18 
19 #include "arma_config.hpp"
20 
21 #ifdef ARMA_64BIT_WORD
22  #ifdef MLPACK_ARMA_NO_64BIT_WORD
23  #pragma message "mlpack was compiled without ARMA_64BIT_WORD, but you are \
24 compiling with ARMA_64BIT_WORD. This will almost certainly cause irreparable \
25 disaster. Either disable ARMA_64BIT_WORD in your application which is using \
26 mlpack, or, recompile mlpack against a version of Armadillo which has \
27 ARMA_64BIT_WORD enabled."
28  #endif
29 #else
30  #ifdef MLPACK_ARMA_64BIT_WORD
31  #pragma message "mlpack was compiled with ARMA_64BIT_WORD, but you are \
32 compiling without ARMA_64BIT_WORD. This will almost certainly cause \
33 irreparable disaster. Either enable ARMA_64BIT_WORD in your application which \
34 is using mlpack, or, recompile mlpack against a version of Armadillo which has \
35 ARMA_64BIT_WORD disabled."
36  #endif
37 #endif
38 
39 #endif