Skip to content

Commit

Permalink
Defines BOOST_SYSTEM_NO_DEPRECATED.
Browse files Browse the repository at this point in the history
- fixes boost::system::throws multiple definition issue in mpicbg-scicomp#145
  • Loading branch information
Matthias Werner authored and Matthias Werner committed Jun 22, 2019
1 parent 318847b commit 76914ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions inc/core/types.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#ifndef TYPES_HPP_
#define TYPES_HPP_

// https://github.com/mpicbg-scicomp/gearshifft/issues/145
#include <boost/predef.h>
#if BOOST_VERSION < 106600
#define BOOST_SYSTEM_NO_DEPRECATED
#endif

#include "complex-half.hpp"

#include <boost/mpl/list.hpp>
Expand Down

0 comments on commit 76914ff

Please sign in to comment.