Skip to content

Commit

Permalink
Explicitely include cstdio
Browse files Browse the repository at this point in the history
When compiling a library that depends on this on MacOS Monterry with gcc and OpenMPI (both installed via homebrew) the build fails because of `cstdio` missing (see [here](SSAGESproject/SSAGES#36)).

Everything works well when building with clang instead. But I saw no harm in explicitly including `cstdio`.
  • Loading branch information
pabloferz committed Apr 13, 2022
1 parent 435e04d commit ceee373
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/mxx/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#define MXX_COMMON_HPP

#include <mpi.h>
#include <cstdio>
#include <limits>

namespace mxx {
Expand Down

0 comments on commit ceee373

Please sign in to comment.