File tree Expand file tree Collapse file tree 7 files changed +14
-7
lines changed
Expand file tree Collapse file tree 7 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,11 @@ if(NOT DEFINED PROJECT_ROOT)
99endif ()
1010
1111# Bootstrap project_utils
12- set (sub_repo_path "${PROJECT_ROOT} /external/project_utils" )
13- file (GLOB sub_repo_files ${sub_repo_path} /*)
14- list (LENGTH sub_repo_files sub_repo_nb_files)
15- if (sub_repo_nb_files EQUAL 0)
12+ file (GLOB project_utils_files "${PROJECT_ROOT} /external/project_utils/*" )
13+ list (LENGTH project_utils_files n_file_project_utils)
14+ if (n_file_project_utils EQUAL 0)
1615 message (FATAL_ERROR
17- "${sub_repo_path} is empty.
16+ "external/project_utils is empty.
1817 Maybe you forgot to initialize it with \" git submodule update --init\" "
1918 )
2019endif ()
Original file line number Diff line number Diff line change 55#include < cxxabi.h>
66#include < iostream>
77
8- #if __CYGWIN__
8+ #if defined( __CYGWIN__) || !defined(__GLIBC__)
99namespace std_e {
1010 auto stacktrace_to_string () -> std::string { return " no backtrace on CYGWIN" ; }
1111}
Original file line number Diff line number Diff line change @@ -22,7 +22,11 @@ remaining_system_memory_in_bytes() -> long {
2222
2323auto
2424malloc_mem_info () -> void {
25- malloc_stats (); // NOTE: see also mallinfo()
25+ #if defined(__GLIBC__)
26+ malloc_stats (); // NOTE: see also mallinfo()
27+ #else
28+ throw std_e::msg_exception (" malloc_stats not implemented on non-glibc system" );
29+ #endif
2630}
2731
2832
Original file line number Diff line number Diff line change 22
33
44#include " std_e/interval/accumulate.hpp"
5+ #include < cstdint>
56
67
78TEST_CASE (" apply_accumulate" ) {
Original file line number Diff line number Diff line change 11#include " std_e/unit_test/doctest.hpp"
22#include " std_e/multi_array/utils.hpp"
33#include " std_e/multi_array/multi_array.hpp"
4+ #include < cstdint>
45
56
67using namespace std_e ;
Original file line number Diff line number Diff line change 33
44#include < mpi.h>
55#include " std_e/parallel/mpi/mpi_exception.hpp"
6+ #include < cstdint>
67
78
89namespace std_e {
Original file line number Diff line number Diff line change 11#pragma once
22
33#include < string>
4+ #include < cstdint>
45
56namespace std_e {
67
You can’t perform that action at this time.
0 commit comments